Commit 0483b96
fix(pwa): safe-area insets for toolbar/bottom bar + annotation swipe guard
- Toolbar: wrap with paddingTop env(safe-area-inset-top) so content sits
below iOS status bar when viewport-fit=cover is active
- Bottom progress bar: wrap with paddingBottom env(safe-area-inset-bottom)
so bar stays above Home indicator; restore 32px inner content height
- onTouchEnd: check isSelectingRef before page turn to prevent accidental
swipe navigation when user is selecting text for annotation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e379c47 commit 0483b96
2 files changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
209 | 213 | | |
210 | 214 | | |
211 | 215 | | |
| |||
312 | 316 | | |
313 | 317 | | |
314 | 318 | | |
| 319 | + | |
315 | 320 | | |
316 | 321 | | |
317 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1908 | 1908 | | |
1909 | 1909 | | |
1910 | 1910 | | |
| 1911 | + | |
1911 | 1912 | | |
1912 | 1913 | | |
1913 | 1914 | | |
| |||
2252 | 2253 | | |
2253 | 2254 | | |
2254 | 2255 | | |
2255 | | - | |
| 2256 | + | |
2256 | 2257 | | |
2257 | | - | |
| 2258 | + | |
2258 | 2259 | | |
2259 | 2260 | | |
| 2261 | + | |
2260 | 2262 | | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
2261 | 2267 | | |
2262 | 2268 | | |
2263 | 2269 | | |
| |||
2273 | 2279 | | |
2274 | 2280 | | |
2275 | 2281 | | |
| 2282 | + | |
2276 | 2283 | | |
2277 | 2284 | | |
2278 | 2285 | | |
| |||
0 commit comments