From c61ced083873444430700249b61aef1c28e08647 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Fri, 21 Jun 2024 11:48:36 +0200 Subject: [PATCH] fix: responsive width for popup --- theme/global/global.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/theme/global/global.ts b/theme/global/global.ts index f9d64d5fe72..c26cab8cf3f 100644 --- a/theme/global/global.ts +++ b/theme/global/global.ts @@ -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: { @@ -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': {