Better fix for clickable space
authorAlexander Ebert <ebert@woltlab.com>
Thu, 25 Aug 2016 15:37:28 +0000 (17:37 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 25 Aug 2016 15:37:28 +0000 (17:37 +0200)
wcfsetup/install/files/style/ui/redactor.scss

index 92c69a703839403c4c22d0bc2be5bc674b5249d7..3fe35a33dce8feec525cb1d502fadb089b96323c 100644 (file)
@@ -62,7 +62,7 @@
        border: 1px solid $wcfContentBorderInner;
        border-top-width: 0;
        max-height: 500px;
-       padding: 20px 10px;
+       padding: 10px;
        position: relative;
        outline: none;
        overflow: auto;
        // enforce styles used in messages
        @extend .htmlContent;
        
+       > :not(p) {
+               &:first-child {
+                       margin-top: 10px !important;
+               }
+               
+               &:last-child {
+                       margin-bottom: 20px !important;
+               }
+       }
+       
        // 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;