From 568b0438b23e63f9c4d057e818353704575bbc02 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 26 Jul 2023 16:40:35 +0200 Subject: [PATCH] Prevent the selection handle to bet cut off by the toolbar See https://www.woltlab.com/community/thread/300628-widget-handle-cut-off-by-the-editor-toolbar/ --- wcfsetup/install/files/style/ui/ckeditor.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 39adeab6b0..900fc04d69 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -7,6 +7,10 @@ @extend .htmlContent; } +.ck.ck-content.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child { + margin-top: 1.5em !important; +} + .ck.ck-content.ck-editor__editable .image-inline { vertical-align: middle; } -- 2.20.1