mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-04 02:49:57 +08:00
fix(mobile): adjust body padding-bottom for app tab (#8944)
This commit is contained in:
@@ -19,7 +19,7 @@ globalStyle('body', {
|
|||||||
overflowY: 'unset',
|
overflowY: 'unset',
|
||||||
});
|
});
|
||||||
globalStyle('body:has(#app-tabs)', {
|
globalStyle('body:has(#app-tabs)', {
|
||||||
paddingBottom: globalVars.appTabHeight,
|
paddingBottom: `calc(${globalVars.appTabHeight} + env(safe-area-inset-bottom))`,
|
||||||
});
|
});
|
||||||
globalStyle('html', {
|
globalStyle('html', {
|
||||||
height: '100dvh',
|
height: '100dvh',
|
||||||
|
|||||||
Reference in New Issue
Block a user