Fix the overflow toolbar behavior on mobile
authorAlexander Ebert <ebert@woltlab.com>
Sun, 7 May 2023 14:00:26 +0000 (16:00 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 7 May 2023 14:00:26 +0000 (16:00 +0200)
Fixes WoltLab/editor#49

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

index ef6e9e87b55e1539d5a9a235c2de36740cb897d8..4580026d6fed90234fe29b09febb890345d93dc2 100644 (file)
@@ -83,6 +83,7 @@
        flex-shrink: 0;
 }
 
+.ck.ck-toolbar-dropdown .ck.ck-toolbar__items,
 .ck.ck-toolbar__grouped-dropdown .ck.ck-toolbar__items {
        /* Allow shrinking when the toolbar is being nested. */
        flex-shrink: 1;
@@ -283,7 +284,7 @@ html[data-color-scheme="dark"] {
 }
 
 @include screen-xs {
-       html.iOS  .ck.ck-content {
+       html.iOS .ck.ck-content {
                /* Font sizes below 16px cause iOS to zoom when moving the focus inside of it. */
                font-size: 16px;
        }