From 66cf184197028d7f2b0d5526c1d67d76a6b985b3 Mon Sep 17 00:00:00 2001 From: Cats Juice Date: Wed, 27 Nov 2024 17:13:03 +0800 Subject: [PATCH] fix(mobile): adjust body padding-bottom for app tab --- packages/frontend/core/src/mobile/styles/mobile.css.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/core/src/mobile/styles/mobile.css.ts b/packages/frontend/core/src/mobile/styles/mobile.css.ts index 394dac3019e9e..60165e6ae10fb 100644 --- a/packages/frontend/core/src/mobile/styles/mobile.css.ts +++ b/packages/frontend/core/src/mobile/styles/mobile.css.ts @@ -18,7 +18,7 @@ globalStyle('body', { overflowY: 'unset', }); globalStyle('body:has(#app-tabs)', { - paddingBottom: globalVars.appTabHeight, + paddingBottom: `calc(${globalVars.appTabHeight} + env(safe-area-inset-bottom))`, }); globalStyle('html', { height: '100dvh',