Skip to content

Commit 4be6ca3

Browse files
committed
Disabled automatic font scaling on iOS devices when in landscape view. Issue #4
1 parent 508086d commit 4be6ca3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css/advanced.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ body {
1919
/* Mobile Landscape CSS */
2020
/* @media all and (max-device-width: 480px) and (orientation:landscape) */
2121
@media all and (min-width: 321px) and (max-width: 480px) {
22+
html {
23+
-webkit-text-size-adjust: none; /* prevent font scaling */
24+
}
2225
body {
2326
width: 30em; /* 480px @ 16px */
2427
padding: 0;

0 commit comments

Comments
 (0)