Skip to content

Commit 6e13c50

Browse files
committed
fix buttons
1 parent 5d214eb commit 6e13c50

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/Conf/Button/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ const ButtonConf = ({ text, href, target, className, onWhiteBg }: Props) => {
1212
return (
1313
<a
1414
className={
15-
`block cursor-pointer transition ease-in-out no-underline inline-flex text-center border-0 py-2 px-6 no-underline hover:no-underline focus:outline-none hover:drop-shadow-md hover:[transform:scale(1.05)] rounded text-sm sm:text-base font-medium whitespace-nowrap ${
16-
onWhiteBg ? "bg-[#B48EF1] text-white" : "bg-white text-black"
15+
`block cursor-pointer transition ease-in-out no-underline inline-flex text-center w-[fit-content] border-0 py-2 px-6 no-underline hover:no-underline focus:outline-none hover:drop-shadow-md hover:[transform:scale(1.05)] rounded text-sm sm:text-base font-medium whitespace-nowrap ${onWhiteBg ? "bg-[#B48EF1] text-white" : "bg-white text-black"
1716
} ${className ?? ""}`
1817
}
1918
href={href}

src/pages/conf/sponsor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default () => {
1717
Sponsor GraphQLConf 2023
1818
</span>
1919
</div>
20-
<div className="flex justify-center gap-4 flex-col sm:flex-row">
20+
<div className="flex justify-center items-center gap-4 flex-col sm:flex-row">
2121
<ButtonConf
2222
text="Explore Sponsorship"
2323
target="_blank"

0 commit comments

Comments
 (0)