Fix: Bottom-Nav position:fixed zurück — #app fixed+inset:0 verhindert Drift, nav erreicht Bildschirmrand, SW by-v530
This commit is contained in:
parent
cd5688ae8f
commit
b62d1ba933
3 changed files with 10 additions and 5 deletions
|
|
@ -25,7 +25,7 @@
|
|||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding-bottom: var(--space-4);
|
||||
padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px);
|
||||
}
|
||||
|
||||
/* Vollbild-Seiten: #page-content kein Scroll */
|
||||
|
|
@ -177,8 +177,13 @@ body.page-fullscreen #page-content {
|
|||
3. BOTTOM NAVIGATION (Mobile)
|
||||
------------------------------------------------------------ */
|
||||
#bottom-nav {
|
||||
/* Flex-Kind statt position:fixed — kein iOS-Drift mehr */
|
||||
flex-shrink: 0;
|
||||
/* position:fixed relativ zum Viewport — da #app kein transform hat,
|
||||
ist dies stabil. Scroll passiert in #page-content (overflow-y:auto),
|
||||
nicht im window → kein iOS-Drift. */
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 700;
|
||||
min-height: calc(var(--nav-bottom-height) + var(--safe-bottom));
|
||||
padding-top: var(--space-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue