From 65a14f50c78a238842784bd0ffe6af126bed1b0e Mon Sep 17 00:00:00 2001 From: CatsJuice Date: Wed, 21 May 2025 01:39:16 +0000 Subject: [PATCH] fix(mobile): correct initial height for sign in layout (#12380) --- .../frontend/core/src/mobile/components/sign-in/layout.css.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/core/src/mobile/components/sign-in/layout.css.ts b/packages/frontend/core/src/mobile/components/sign-in/layout.css.ts index ae8de1b3b7..662b3432ee 100644 --- a/packages/frontend/core/src/mobile/components/sign-in/layout.css.ts +++ b/packages/frontend/core/src/mobile/components/sign-in/layout.css.ts @@ -1,11 +1,11 @@ -import { style } from '@vanilla-extract/css'; +import { fallbackVar, style } from '@vanilla-extract/css'; import { globalVars } from '../../styles/variables.css'; export const root = style({ padding: '40px', justifyContent: 'flex-end', - minHeight: `calc(100dvh - ${globalVars.appKeyboardHeight})`, + minHeight: `calc(100dvh - ${fallbackVar(globalVars.appKeyboardHeight, '0px')})`, display: 'flex', flexDirection: 'column', position: 'relative',