From 5bb0bc2892b875644c27744fb968789c59cda88e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 22 Apr 2023 12:30:16 +0200 Subject: [PATCH] Enable the automatic grouping of items in the toolbar Fixes WoltLab/editor#18 --- wcfsetup/install/files/style/ui/ckeditor.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 433bf05360..fd7c2eff6e 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -76,6 +76,12 @@ } } +.ck.ck-toolbar__items, +.ck.ck-toolbar__grouped-dropdown { + /* Enables the automatic grouping of excessive items. */ + flex-shrink: 0; +} + .ck.ck-reset.ck-dropdown__panel, .ck.ck-balloon-panel { border-color: transparent; -- 2.20.1