Some iOS fixes
authorAlexander Ebert <ebert@woltlab.com>
Thu, 18 Aug 2016 10:11:32 +0000 (12:11 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 18 Aug 2016 10:11:32 +0000 (12:11 +0200)
wcfsetup/install/files/style/bootstrap/reset.scss
wcfsetup/install/files/style/ui/redactor.scss

index b072352181b6829457cb8df49f159f46b8c50b2a..60aa8d513c860026c95a3cc6dd48737bb15e5348 100644 (file)
@@ -65,3 +65,8 @@ html {
        box-sizing: inherit;
        min-width: 0;
 }
+
+html {
+       // prevent iOS Safari from blowing up font size when in landscape mode
+       -webkit-text-size-adjust: 100%;
+}
index 1b882e7fb9a38492bad706207b92f5516b34898e..a0e00895cc68d8663f3c89aa4098abe087ea93c2 100644 (file)
 }
 
 /* disable auto zoom in mobile safari */
-@include screen-sm-down {
-       .redactor-editor + textarea {
+@include screen-md-down {
+       .redactor-editor {
                font-size: 16px;
                max-height: 500px;
        }