Commit 9d4bd47
committed
Use text-size-adjust: none for code blocks (stronger fix)
text-size-adjust: 100% was not sufficient -- mobile Safari still
inflates text inside pre elements when content overflows horizontally
(e.g., long JSON lines). Using 'none !important' completely disables
the text inflation algorithm for code blocks.
This explains why the first code block (bash, fits viewport) rendered
correctly while the second (JSON, overflows) had inflated font size.
https://claude.ai/code/session_01UjvipgoS6qs1ikzifd77Xi1 parent b4667a2 commit 9d4bd47
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments