Skip to content

Commit bc39480

Browse files
authored
Merge pull request #1961 from cprussin/fix-help-button-padding
fix(staking): fix minor button padding issues
2 parents ff225e4 + 3e2d45c commit bc39480

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/staking/src/components/Blocked/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Blocked = ({ reason }: Props) => (
1919
</h1>
2020
<p className="mb-20 text-lg">{reason}</p>
2121
<LinkButton
22-
className="place-self-center px-24 py-3"
22+
className="w-full max-w-96 place-self-center px-8 py-3"
2323
href="https://www.pyth.network"
2424
target="_blank"
2525
>

apps/staking/src/components/Header/help-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const HelpMenu = () => {
3737
return (
3838
<>
3939
<MenuTrigger>
40-
<Button className="group -mx-2 flex flex-row items-center gap-2 rounded-sm px-2 transition hover:bg-white/10 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400 pressed:bg-white/10 sm:-mx-4 sm:px-4">
40+
<Button className="group -mx-2 flex flex-row items-center gap-2 rounded-sm p-2 transition hover:bg-white/10 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400 pressed:bg-white/10 sm:-mx-4 sm:px-4">
4141
<QuestionMarkCircleIcon className="size-6 flex-none" />
4242
<span className="sr-only xs:not-sr-only">Help</span>
4343
<ChevronDownIcon className="size-4 flex-none opacity-60 transition duration-300 group-data-[pressed]:-rotate-180" />

0 commit comments

Comments
 (0)