From 80195650ec21ca73e035be981a50ffeea422ee97 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 May 2023 13:39:12 +0200 Subject: [PATCH] Add a spacer for notices above the editor Fixes WoltLab/com.woltlab.wbb#592 --- 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 c629f1b55d..c974429733 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -314,6 +314,12 @@ html[data-color-scheme="dark"] { resize: none !important; } +/* Add spacer for any notices displayed above the editor. */ +.wysiwygTextarea:not(:first-child), +.wysiwygTextarea:not(:first-child) + .ck.ck-editor { + margin-top: 20px; +} + @include screen-xs { html.iOS .ck.ck-content { /* Font sizes below 16px cause iOS to zoom when moving the focus inside of it. */ -- 2.20.1