Add a margin around code blocks in the editor
authorAlexander Ebert <ebert@woltlab.com>
Fri, 28 Jul 2023 10:29:23 +0000 (12:29 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 28 Jul 2023 10:29:23 +0000 (12:29 +0200)
See https://www.woltlab.com/community/thread/300833-missing-gap-between-code-blocks-in-the-editor/

wcfsetup/install/files/style/ui/ckeditor.scss

index 900fc04d6927b0c4fd36bae78cc6de6a8bab9075..e36045a72e7298530665ca68ab69c7d72e886d83 100644 (file)
@@ -457,6 +457,11 @@ html[data-color-scheme="dark"] {
        }
 }
 
+/* Code Blocks */
+.ck.ck-content pre {
+       margin: 1em 0;
+}
+
 /* Text Markers */
 .marker-error,
 .marker-info,