Skip to content

Commit 35c2d1f

Browse files
authored
Merge pull request #740 from mattico/fix-ios-text-size
Prevent certain mobile browsers from enlarging fonts in landscape ori…
2 parents ebea8c2 + a082553 commit 35c2d1f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/theme/book.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
html {
22
font-family: "Open Sans", sans-serif;
33
color: #333;
4+
-webkit-text-size-adjust: none;
5+
-ms-text-size-adjust: none;
6+
text-size-adjust: none;
47
}
58
body {
69
margin: 0;

src/theme/stylus/general.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
html {
22
font-family: "Open Sans", sans-serif
33
color: #333
4+
text-size-adjust: none
45
}
56

67
body {

0 commit comments

Comments
 (0)