Commit 3e7ed44
committed
fix: use 100dvh on html to prevent toolbar/statusbar scroll on mobile
height:100% on html resolves against the layout viewport which on iOS
Safari can include the area behind the address bar and home indicator,
pushing the toolbar off-screen. Using 100dvh (dynamic viewport height)
keeps #app exactly equal to the visible area as browser chrome
shows/hides. The 100% line is retained as a fallback for older browsers.1 parent 7597934 commit 3e7ed44
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
| |||
0 commit comments