fix: viewport safe-area-inset for iOS PWA + disable pinch zoom
Topbar (avatar, network indicator) was hidden behind iOS status bar in standalone PWA mode. Added safe-area-inset-top padding to topbar. Disabled user-scalable to prevent accidental zoom. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6e2503dc3f
commit
cb89a90771
3 changed files with 3 additions and 2 deletions
|
|
@ -59,6 +59,7 @@ body {
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16px 20px;
|
||||
padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue