Fix: #app height:100dvh statt position:fixed+inset:0 — dvh inkl. safe areas, SW by-v533
This commit is contained in:
parent
6e938b9fa1
commit
03508f8aa3
3 changed files with 4 additions and 8 deletions
|
|
@ -7,14 +7,10 @@
|
|||
/* ------------------------------------------------------------
|
||||
1. APP SHELL
|
||||
------------------------------------------------------------ */
|
||||
/* Mobile: #app als fixed Container — einzig zuverlässiger iOS-PWA-Fix.
|
||||
#bottom-nav braucht dann kein position:fixed mehr, er ist Flex-Kind
|
||||
am unteren Rand des fixierten Containers. */
|
||||
#app {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100dvh; /* dvh = dynamic viewport inkl. safe areas */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
@ -38,7 +34,7 @@ body.page-fullscreen #page-content {
|
|||
/* Desktop: normaler Dokumentfluss, Sidebar-Layout */
|
||||
@media (min-width: 768px) {
|
||||
#app {
|
||||
position: static;
|
||||
height: auto;
|
||||
min-height: 100dvh;
|
||||
overflow: visible;
|
||||
flex-direction: row;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue