From d8c199c2a07ce4416d4e8e31b5b62d9c903cbe57 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 16 Aug 2023 15:41:57 +0200 Subject: [PATCH] Fix the visuals of split buttons See https://www.woltlab.com/community/thread/301103-split-button-bei-tabellen-optionen-sieht-etwas-merkw%C3%BCrdig-aus/ --- wcfsetup/install/files/style/ui/ckeditor.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index ef4dff2d35..5ab08a2c56 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -262,6 +262,15 @@ html[data-color-scheme="light"] .ck-body-wrapper .ck.ck-balloon-panel { border-bottom-color: var(--wcfInputBorderActive) !important; } +.ck.ck-splitbutton { + display: flex; +} + +.ck.ck-button.ck-splitbutton__action { + border-top-right-radius: unset !important; + border-bottom-right-radius: unset !important; +} + /* Fixes the hover state of the link balloon tooltip. */ @media (hover: hover) { .ck.ck-link-actions .ck-button.ck-link-actions__preview:hover .ck-button__label { -- 2.20.1