Commit 3be0f62
Fix standalone spacing via JS detection instead of CSS-only media query
window.navigator.standalone is the reliable iOS Safari "Add to Home Screen"
detector — the CSS @media (display-mode: standalone) query can miss it.
Sets data-standalone on <html> so CSS vars pick up safe-area-inset-bottom.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 81b389a commit 3be0f62
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
343 | 347 | | |
344 | 348 | | |
345 | 349 | | |
| |||
487 | 491 | | |
488 | 492 | | |
489 | 493 | | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
490 | 502 | | |
491 | 503 | | |
492 | 504 | | |
| |||
0 commit comments