Updated visuals within the editor field
authorAlexander Ebert <ebert@woltlab.com>
Tue, 9 Feb 2016 16:39:27 +0000 (17:39 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 9 Feb 2016 16:39:36 +0000 (17:39 +0100)
wcfsetup/install/files/style/ui/message.scss
wcfsetup/install/files/style/ui/redactor.scss

index b3bb4139237342da15218eab83ba51d783a15969..682ca19a6621235ae7628cd2ed3dc13d9e344a41 100644 (file)
                        flex: auto;
                }
        }
+       
+       > .messageText {
+               @extend .htmlContent;
+       }
 }
 
 /* content - footer */
index a8a4e5f5e0544ea2908fc2381815bf09431e19e0..438f0c0735a86b21be6b1a03315b2446b54e43f6 100644 (file)
                }
        }
        
-       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