From: Alexander Ebert Date: Wed, 20 Sep 2017 12:08:07 +0000 (+0200) Subject: Fixed message anchors X-Git-Tag: 3.1.0_Beta_1~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f8b5eacb0a2978f39c43d6faf08dc9e5570f0fc1;p=GitHub%2FWoltLab%2FWCF.git Fixed message anchors --- diff --git a/wcfsetup/install/files/style/ui/wsc31.scss b/wcfsetup/install/files/style/ui/wsc31.scss index 5c86c116c4..d86f8271db 100644 --- a/wcfsetup/install/files/style/ui/wsc31.scss +++ b/wcfsetup/install/files/style/ui/wsc31.scss @@ -71,6 +71,19 @@ > :first-child { padding-top: 0; + + // 30px added to account for `padding-top: 0` above + &.anchorFixedHeader:target { + margin-top: -79px; + + &::after { + height: 80px; + } + + > .message { + transform: translateY(79px); + } + } } > :last-child {