Skip to content

Commit aa90ce9

Browse files
authored
Merge pull request #1942 from cprussin/fixes
feat(staking): make publisher table work well on mobile
2 parents 462ead7 + be4e07b commit aa90ce9

File tree

6 files changed

+567
-259
lines changed

6 files changed

+567
-259
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const Journey = ({
241241
)}
242242
{...props}
243243
>
244-
<div className="grid size-full flex-none basis-0 place-content-center border border-neutral-600/50 bg-pythpurple-800 p-2 text-center font-semibold transition group-hover/tab:bg-pythpurple-600/30 group-selected/tab:border-pythpurple-400/60 group-selected/tab:bg-pythpurple-600/60 group-hover/tab:group-selected/tab:bg-pythpurple-600/60 sm:p-4 sm:text-lg">
244+
<div className="grid size-full flex-none basis-0 place-content-center border border-neutral-600/50 bg-pythpurple-800 p-2 text-center font-semibold transition group-hover/tab:bg-pythpurple-600/30 group-selected/tab:border-pythpurple-400/60 group-selected/tab:bg-pythpurple-600/60 group-hover/tab:group-selected/tab:bg-pythpurple-600/60 sm:py-4 sm:text-lg">
245245
<span className="hidden group-data-[empty]:inline sm:inline">
246246
{longText}
247247
</span>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const HelpMenu = () => {
3939
<MenuTrigger>
4040
<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">
4141
<QuestionMarkCircleIcon className="size-6 flex-none" />
42-
<span className="sr-only">Help</span>
42+
<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" />
4444
</Button>
4545
<Menu placement="bottom end">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const ModalDialog = ({
4040
{...props}
4141
>
4242
<Modal className="pointer-events-none grid min-h-full place-content-center data-[entering]:duration-500 data-[exiting]:duration-300 data-[entering]:animate-in data-[exiting]:animate-out data-[entering]:zoom-in-90 data-[exiting]:zoom-out-110">
43-
<Dialog className="pointer-events-auto relative max-w-full border border-neutral-600/50 bg-[#100E21] px-4 pb-6 pt-12 focus:outline-none sm:px-10 sm:pb-12">
43+
<Dialog className="pointer-events-auto relative max-w-full border border-neutral-600/50 bg-[#100E21] px-4 py-6 pt-12 focus:outline-none sm:px-10 sm:pb-12">
4444
{(options) => (
4545
<>
4646
<Button

0 commit comments

Comments
 (0)