From af81c95b851b39a1d9d5099e49fbc03bd4c5ad64 Mon Sep 17 00:00:00 2001 From: pengx17 Date: Tue, 3 Dec 2024 02:08:32 +0000 Subject: [PATCH] fix(mobile): workaround for tag modal blink (#8985) workaround for fix AF-1822 --- packages/frontend/component/src/ui/modal/styles.css.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/frontend/component/src/ui/modal/styles.css.ts b/packages/frontend/component/src/ui/modal/styles.css.ts index 88d8c03c87..f64c2bbf4a 100644 --- a/packages/frontend/component/src/ui/modal/styles.css.ts +++ b/packages/frontend/component/src/ui/modal/styles.css.ts @@ -173,12 +173,12 @@ export const modalContent = style({ selectors: { '[data-full-screen="true"] &': { vars: { - [widthVar]: '100vw', - [heightVar]: '100vh', - [minHeightVar]: '100vh', + [widthVar]: '100dvw', + [heightVar]: '100dvh', + [minHeightVar]: '100dvh', }, - maxWidth: '100vw', - maxHeight: '100vh', + maxWidth: '100dvw', + maxHeight: '100dvh', borderRadius: 0, }, },