From: Alexander Ebert Date: Thu, 27 Apr 2023 11:29:26 +0000 (+0200) Subject: Prevent iOS from zooming when focusing the editor X-Git-Tag: 6.0.0_Alpha_1~194 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b5274b83b5dbd0521194963d4bf89be30d7a20e;p=GitHub%2FWoltLab%2FWCF.git Prevent iOS from zooming when focusing the editor Fixes WoltLab/editor#39 --- diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 5e8640f16c..ef6e9e87b5 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -281,3 +281,10 @@ html[data-color-scheme="dark"] { .text-right { text-align: right !important; } + +@include screen-xs { + html.iOS .ck.ck-content { + /* Font sizes below 16px cause iOS to zoom when moving the focus inside of it. */ + font-size: 16px; + } +}