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

This commit is contained in:
CatsJuice
2024-12-02 03:11:08 +00:00
parent 6a71b28a61
commit b600f2b0a2

View File

@@ -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',