Fixed dropdown alignment on mobile devices
authorAlexander Ebert <ebert@woltlab.com>
Fri, 9 Sep 2016 08:07:28 +0000 (10:07 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 9 Sep 2016 09:01:48 +0000 (11:01 +0200)
wcfsetup/install/files/style/ui/redactor.scss

index 872dc3a207e9db8eb7d2b8c5c57995420e1e98b0..10e4fc3cde2b8b6b68b8ad719e180246b59dd4c7 100644 (file)
 .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;