Try to fix mobile tab nav height on Android

This commit is contained in:
Kalle 2026-03-19 21:31:07 +02:00
parent ed5cd90734
commit cbfa49c3ab

View File

@ -16,19 +16,13 @@
display: flex;
justify-content: space-around;
align-items: center;
height: var(--layout-nav-height);
height: calc(var(--layout-nav-height) + env(safe-area-inset-bottom));
background-color: var(--color-bg);
border-top: 1.5px solid var(--color-border);
padding: 0 var(--s-4);
padding-bottom: env(safe-area-inset-bottom);
}
@media screen and (display-mode: standalone) {
.tabBar {
height: calc(var(--layout-nav-height) + env(safe-area-inset-bottom));
}
}
.tab {
display: flex;
flex-direction: column;
@ -368,7 +362,7 @@
bottom: calc(0px - var(--layout-nav-height));
left: 0;
right: 0;
height: var(--layout-nav-height);
height: calc(var(--layout-nav-height) + env(safe-area-inset-bottom));
padding-bottom: env(safe-area-inset-bottom);
display: flex;
justify-content: space-around;
@ -376,12 +370,6 @@
z-index: 100;
}
@media screen and (display-mode: standalone) {
.ghostTabBar {
height: calc(var(--layout-nav-height) + env(safe-area-inset-bottom));
}
}
.ghostTab {
height: 100%;
flex: 1;