From: Alexander Ebert Date: Thu, 18 Aug 2016 11:15:42 +0000 (+0200) Subject: Fixed toolbar style on mobile X-Git-Tag: 3.0.0_Beta_1~695 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5bf57072e2bcdf5125222c7c6fc1a63a616c48f6;p=GitHub%2FWoltLab%2FWCF.git Fixed toolbar style on mobile --- diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index a0e00895cc..6187228c37 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -171,7 +171,6 @@ cursor: default; } - &:hover, &.redactor-act, &.dropact { background-color: $wcfHeaderMenuLinkBackgroundActive; @@ -182,6 +181,15 @@ color: inherit; cursor: inherit !important; } + + @include screen-lg { + // hover-styles on mobile are misleading as they stay much longer + // due to the click-like behavior + &:hover { + background-color: $wcfHeaderMenuLinkBackgroundActive; + color: $wcfHeaderMenuLinkActive; + } + } } @include screen-sm-up {