Fixed message anchors
authorAlexander Ebert <ebert@woltlab.com>
Wed, 20 Sep 2017 12:08:07 +0000 (14:08 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 20 Sep 2017 12:08:07 +0000 (14:08 +0200)
wcfsetup/install/files/style/ui/wsc31.scss

index 5c86c116c43ba95080504d69f8a4aaa80936f52d..d86f8271db501dd699578b361b62f971004a8ea1 100644 (file)
                        
                        > :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 {