Commit f5f29d4
committed
add mobile viewport meta as first step against panzoom dance
On mobile, without an explicit viewport, pages can render at desktop width,
forcing a two-handed pinch/zoom/pan "panzoom dance" just to read content,
instead of simply scrolling vertically.
Add the standard viewport meta tag in the base template so initial scale
matches device width.
This is a necessary foundation, not a complete fix: other overflow sources
(long unbroken content, wide elements) can still cause horizontal scrolling
and are handled in follow-up commits.1 parent 77eb329 commit f5f29d4
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
0 commit comments