From: Alexander Ebert Date: Tue, 27 Dec 2016 16:27:38 +0000 (+0100) Subject: Work-around for Firefox rendering issue X-Git-Tag: 3.0.0_RC_3~24^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b4af515b03dd0102cb4d309e9e7c304fb0497ec;p=GitHub%2FWoltLab%2FWCF.git Work-around for Firefox rendering issue --- diff --git a/wcfsetup/install/files/style/layout/pageHeader.scss b/wcfsetup/install/files/style/layout/pageHeader.scss index 6569c6bc16..a22308e283 100644 --- a/wcfsetup/install/files/style/layout/pageHeader.scss +++ b/wcfsetup/install/files/style/layout/pageHeader.scss @@ -222,6 +222,18 @@ } } +/* Firefox suffers from subpixel rendering issues */ +@-moz-document url-prefix() { + .mainMenu .boxMenu > li:not(:last-child) { + box-shadow: 0 0 0 1px $wcfHeaderMenuLinkBackground; + + &.active, + &:hover { + box-shadow: 0 0 0 1px $wcfHeaderMenuLinkBackgroundActive; + } + } +} + /* user panel */ .userPanel { flex: 0 0 auto;