Browse Source

feat: add support for ultrawide screens

imwald
codytseng 5 months ago committed by Silberengel
parent
commit
0b4b83701b
  1. 9
      src/PageManager.tsx

9
src/PageManager.tsx

@ -359,7 +359,13 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) {
> >
<CurrentRelaysProvider> <CurrentRelaysProvider>
<NotificationProvider> <NotificationProvider>
<div className="flex h-[var(--vh)] overflow-hidden bg-surface-background"> <div className="flex flex-col items-center bg-surface-background">
<div
className="flex h-[var(--vh)] w-full bg-surface-background"
style={{
maxWidth: '1920px'
}}
>
<Sidebar /> <Sidebar />
<div className="grid grid-cols-2 gap-2 w-full pr-2 py-2"> <div className="grid grid-cols-2 gap-2 w-full pr-2 py-2">
<div className="rounded-lg shadow-lg bg-background overflow-hidden"> <div className="rounded-lg shadow-lg bg-background overflow-hidden">
@ -395,6 +401,7 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) {
</div> </div>
</div> </div>
</div> </div>
</div>
<TooManyRelaysAlertDialog /> <TooManyRelaysAlertDialog />
<CreateWalletGuideToast /> <CreateWalletGuideToast />
</NotificationProvider> </NotificationProvider>

Loading…
Cancel
Save