Skip to content

Commit

Permalink
fix: responsive width for popup
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Jun 21, 2024
1 parent 930c125 commit c61ced0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions theme/global/global.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { tokens } from '@leather-wallet/tokens';
import { defineGlobalStyles } from '@pandacss/dev';

import { tokens } from '@leather-wallet/tokens';

// ts-unused-exports:disable-next-line
export const globalCss = defineGlobalStyles({
button: {
Expand Down Expand Up @@ -37,7 +38,7 @@ export const globalCss = defineGlobalStyles({
'html,body, #app, .radix-themes': {
maxHeight: '100vh',
minHeight: tokens.sizes.dialogHeight.value,
width: tokens.sizes.popupWidth.value,
maxWidth: tokens.sizes.popupWidth.value,
margin: '0 auto',

'::-webkit-scrollbar': {
Expand Down

0 comments on commit c61ced0

Please sign in to comment.