Commit f88b00c
fix: 3D canvas covers full viewport on all mobile devices
- Use inset:0 + width/height:100% instead of 100vh to avoid
mobile browser chrome gaps
- Size renderer from canvas.clientWidth/Height for accuracy
- Listen to visualViewport resize for mobile address bar changes
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>1 parent 9f9bfaf commit f88b00c
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
828 | | - | |
| 827 | + | |
829 | 828 | | |
830 | | - | |
| 829 | + | |
831 | 830 | | |
832 | 831 | | |
833 | 832 | | |
| |||
1391 | 1390 | | |
1392 | 1391 | | |
1393 | 1392 | | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
1397 | 1398 | | |
1398 | 1399 | | |
1399 | 1400 | | |
1400 | 1401 | | |
1401 | 1402 | | |
| 1403 | + | |
1402 | 1404 | | |
1403 | 1405 | | |
1404 | 1406 | | |
| |||
0 commit comments