From a08255316a7c4a9d0f4c264da87ddd82229fdafe Mon Sep 17 00:00:00 2001 From: Matt Ickstadt Date: Wed, 25 Jul 2018 11:25:09 -0500 Subject: [PATCH] Prevent certain mobile browsers from enlarging fonts in landscape orientation --- src/theme/book.css | 3 +++ src/theme/stylus/general.styl | 1 + 2 files changed, 4 insertions(+) diff --git a/src/theme/book.css b/src/theme/book.css index 086bd78f..e8edd0b5 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -1,6 +1,9 @@ html { font-family: "Open Sans", sans-serif; color: #333; + -webkit-text-size-adjust: none; + -ms-text-size-adjust: none; + text-size-adjust: none; } body { margin: 0; diff --git a/src/theme/stylus/general.styl b/src/theme/stylus/general.styl index 0420a862..e40745b6 100644 --- a/src/theme/stylus/general.styl +++ b/src/theme/stylus/general.styl @@ -1,6 +1,7 @@ html { font-family: "Open Sans", sans-serif color: #333 + text-size-adjust: none } body {