Skip to content

Commit cfb194c

Browse files
committed
Prevent text size adjustments on mobile browsers
Our use of `float: right;` causes some mobile browsers to increase the font size of code blocks. Adding `text-size-adjust: none;` seems to fix the issue. Closes gh-9
1 parent 91e277e commit cfb194c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/css/generic.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ html {
2323
*:after {
2424
box-sizing: inherit;
2525
}
26+
27+
body {
28+
text-size-adjust: none;
29+
}

0 commit comments

Comments
 (0)