From: Alexander Ebert Date: Tue, 9 Feb 2016 16:39:27 +0000 (+0100) Subject: Updated visuals within the editor field X-Git-Tag: 3.0.0_Beta_1~2030^2~95 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=620a271adb09bfb1c369b1a04ee34e671318e740;p=GitHub%2FWoltLab%2FWCF.git Updated visuals within the editor field --- diff --git a/wcfsetup/install/files/style/ui/message.scss b/wcfsetup/install/files/style/ui/message.scss index b3bb413923..682ca19a66 100644 --- a/wcfsetup/install/files/style/ui/message.scss +++ b/wcfsetup/install/files/style/ui/message.scss @@ -202,6 +202,10 @@ flex: auto; } } + + > .messageText { + @extend .htmlContent; + } } /* content - footer */ diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index a8a4e5f5e0..438f0c0735 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -66,24 +66,21 @@ } } - ul, - ol { - @extend .nativeList; - } - - ul { - list-style-type: disc; - } + // enforce styles used in messages + @extend .htmlContent; - ol { - list-style-type: decimal; + // remove margin top for the first paragraph in the editor to avoid a weird looking offset a the top + > p:first-child { + margin-top: 0; } img { + // TODO: the border was required for 'Old Redactor', check if it is still a thing border: 1px solid transparent; max-width: 100%; } + // TODO: this is somewhat out of sync table { border-collapse: collapse; //font-size: 14px; TODO