From ed02d9b77cb5f99ba25ee11902af6ebda941cd69 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 18 Aug 2016 12:11:32 +0200 Subject: [PATCH] Some iOS fixes --- wcfsetup/install/files/style/bootstrap/reset.scss | 5 +++++ wcfsetup/install/files/style/ui/redactor.scss | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/style/bootstrap/reset.scss b/wcfsetup/install/files/style/bootstrap/reset.scss index b072352181..60aa8d513c 100644 --- a/wcfsetup/install/files/style/bootstrap/reset.scss +++ b/wcfsetup/install/files/style/bootstrap/reset.scss @@ -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%; +} diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index 1b882e7fb9..a0e00895cc 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -140,8 +140,8 @@ } /* 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; } -- 2.20.1