From 3cb00df42e8412d15850e5149731b4d867efa43f Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Tue, 9 Apr 2024 14:34:13 +0200 Subject: [PATCH] fix: container when resized --- theme/global/global.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/global/global.ts b/theme/global/global.ts index ef3d871c7be..f9d64d5fe72 100644 --- a/theme/global/global.ts +++ b/theme/global/global.ts @@ -35,10 +35,10 @@ export const globalCss = defineGlobalStyles({ }, '.mode__popup': { 'html,body, #app, .radix-themes': { - height: tokens.sizes.popupHeight.value, maxHeight: '100vh', minHeight: tokens.sizes.dialogHeight.value, width: tokens.sizes.popupWidth.value, + margin: '0 auto', '::-webkit-scrollbar': { display: 'none',