From: Alexander Ebert Date: Mon, 15 May 2023 11:23:51 +0000 (+0200) Subject: Fix the appearance of code boxes using the dark color scheme X-Git-Tag: 6.0.0_Alpha_1~100^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=184d93db58ac02f472dce0f790072223a76daeb3;p=GitHub%2FWoltLab%2FWCF.git Fix the appearance of code boxes using the dark color scheme Fixes #5502 --- 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 */