Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(mobile): adjust body padding-bottom for app tab (#8944)

CatsJuiceb600f2b0a290
diff --git a/packages/frontend/core/src/mobile/styles/mobile.css.ts b/packages/frontend/core/src/mobile/styles/mobile.css.ts
index 69e561878f..ed9cc6db44 100644
--- a/packages/frontend/core/src/mobile/styles/mobile.css.ts
+++ b/packages/frontend/core/src/mobile/styles/mobile.css.ts
@@ -19,7 +19,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',