Enforce a minimum font size of 16px for iOS
authorAlexander Ebert <ebert@woltlab.com>
Fri, 18 Aug 2023 13:19:45 +0000 (15:19 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 18 Aug 2023 13:19:45 +0000 (15:19 +0200)
See https://www.woltlab.com/community/thread/301197-editor-mobil-im-querformat-verbesserungsw%C3%BCrdig/

wcfsetup/install/files/style/ui/ckeditor.scss

index 5ab08a2c56e76c870e4344d7a276ce80c106a7f5..f1bc343e4320102c40b8cf69d281c9a34940be13 100644 (file)
@@ -574,12 +574,12 @@ html.touch .ck.ck-balloon-panel.ck-tooltip {
        }
 }
 
-@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;
-       }
+html.iOS .ck.ck-content {
+       /* Font sizes below 16px cause iOS to zoom when moving the focus inside of it. */
+       font-size: 16px;
+}
 
+@include screen-xs {
        .ck.ck-input {
                --ck-input-width: 100%;
        }