fix(android): make sidebar settings button visible above system nav bar

Use JS-computed var(--safe-area-bottom) instead of env(safe-area-inset-bottom)
which returns 0 on Android WebView. Also account for bottom nav height and
position sidebar below status bar on native mobile.

Closes #6561
This commit is contained in:
Johannes Millan 2026-03-04 13:59:20 +01:00
parent 1471b101fe
commit ef07ae8ff2

View file

@ -134,6 +134,10 @@
transition: none !important;
}
:host-context(body.isNativeMobile) &.mobile {
top: var(--safe-area-top);
}
// Position right
&.position-right {
left: auto;
@ -202,7 +206,7 @@
@media (max-width: 600px) {
padding-top: var(--safe-area-top);
padding-bottom: env(safe-area-inset-bottom);
padding-bottom: calc(var(--safe-area-bottom) + var(--bottom-nav-height));
}
:host-context(.isMac.isElectron) & {