From 63a6f7e692234c69dfdb0490ff897582971b6a4c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 28 Jul 2023 12:29:23 +0200 Subject: [PATCH] Add a margin around code blocks in the editor See https://www.woltlab.com/community/thread/300833-missing-gap-between-code-blocks-in-the-editor/ --- wcfsetup/install/files/style/ui/ckeditor.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 900fc04d69..e36045a72e 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -457,6 +457,11 @@ html[data-color-scheme="dark"] { } } +/* Code Blocks */ +.ck.ck-content pre { + margin: 1em 0; +} + /* Text Markers */ .marker-error, .marker-info, -- 2.20.1