From: Alexander Ebert Date: Thu, 25 Aug 2016 15:37:28 +0000 (+0200) Subject: Better fix for clickable space X-Git-Tag: 3.0.0_Beta_1~509 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e7b600c0cefb41507d34f962172fde1dd11b767;p=GitHub%2FWoltLab%2FWCF.git Better fix for clickable space --- diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index 92c69a7038..3fe35a33dc 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -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; @@ -95,6 +95,16 @@ // 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;