From 184d93db58ac02f472dce0f790072223a76daeb3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 May 2023 13:23:51 +0200 Subject: [PATCH] Fix the appearance of code boxes using the dark color scheme Fixes #5502 --- 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 6ffd7613ef..c7480f9018 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -204,6 +204,12 @@ html[data-color-scheme="dark"] { .ck.ck-balloon-panel { border-color: var(--wcfDropdownBorderInner); } + + .ck.ck-content pre { + background-color: var(--wcfContentBackground); + border-color: var(--wcfContentBorderInner); + color: var(--wcfContentText); + } } /* Dialog overlay to restore a draft */ -- 2.20.1