Skip to content

Commit ede74d7

Browse files
Feat/overflow hidden (#38)
* feat: add overflow-hidden class to SupportUsButton for improved layout * 2.2.0 * chore: update version to 2.2.0
1 parent 3d325bf commit ede74d7

4 files changed

Lines changed: 5 additions & 59 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.2
1+
2.2.0

package-lock.json

Lines changed: 2 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "support-us-button",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"description": "A customizable and flexible Support Us button component for integrating sponsorship and donation options into web applications.",
55
"keywords": [
66
"aossie",

src/components/SupportUsButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function SupportUsButton({
100100
}
101101
: undefined
102102
}
103-
className={`relative w-full h-full px-12 sm:px-14 md:px-20 py-10 sm:py-10 md:py-14 text-center ${isAuto ? "bg-transparent font-inherit text-inherit" : "font-sans"} ${classAccordingToTheme(Theme)} ${className}`}
103+
className={`relative overflow-hidden w-full h-full px-12 sm:px-14 md:px-20 py-10 sm:py-10 md:py-14 text-center ${isAuto ? "bg-transparent font-inherit text-inherit" : "font-sans"} ${classAccordingToTheme(Theme)} ${className}`}
104104
>
105105
{Logo && (
106106
<div className="absolute inset-0 w-full h-full overflow-hidden pointer-events-none">

0 commit comments

Comments
 (0)