Fix the visuals of split buttons
authorAlexander Ebert <ebert@woltlab.com>
Wed, 16 Aug 2023 13:41:57 +0000 (15:41 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 16 Aug 2023 13:41:57 +0000 (15:41 +0200)
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

index ef4dff2d3577cbbd148555260e2ad23c497b16cb..5ab08a2c56e76c870e4344d7a276ce80c106a7f5 100644 (file)
@@ -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 {