Fix the behavior for the fixed anchor when editing messages
authorAlexander Ebert <ebert@woltlab.com>
Tue, 16 May 2023 13:29:56 +0000 (15:29 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 16 May 2023 13:29:56 +0000 (15:29 +0200)
See WoltLab/editor#49

wcfsetup/install/files/style/ui/wsc31.scss

index 6db4da897e1db3ea8a03c2c656d0cb45efe4724d..ce07629b097c527bf7f76a3864a569e3ee9d3c77 100644 (file)
@@ -81,7 +81,7 @@
                                padding-top: 0;
 
                                // 30px added to account for `padding-top: 0` above
-                               &.anchorFixedHeader:target {
+                               &.anchorFixedHeader:target:not(.disableAnchorFixedHeader) {
                                        margin-top: -79px;
 
                                        &::after {