From: Alexander Ebert Date: Fri, 9 Sep 2016 08:07:28 +0000 (+0200) Subject: Fixed dropdown alignment on mobile devices X-Git-Tag: 3.0.0_Beta_1~252 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec1cad288b9e98cebf80a6650fa8b9b4ba41d8a0;p=GitHub%2FWoltLab%2FWCF.git Fixed dropdown alignment on mobile devices --- diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index 872dc3a207..10e4fc3cde 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -138,11 +138,12 @@ .redactor-dropdown { > .dropdownMenu { display: block; + position: relative; visibility: visible; - /* we cannot influence the actual dropdown position as set by Redactor, - forces a gap while keeping the inline top-attribute unaffected */ - transform: translateY(3px); + @include screen-lg { + top: 1px; + } > li:hover { background-color: transparent !important;