From ec1cad288b9e98cebf80a6650fa8b9b4ba41d8a0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 9 Sep 2016 10:07:28 +0200 Subject: [PATCH] Fixed dropdown alignment on mobile devices --- wcfsetup/install/files/style/ui/redactor.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.20.1