diff --git a/resources/assets/stylesheets/less/header.less b/resources/assets/stylesheets/less/header.less index d200787692b688a71e0ca0c593f3da0164a563e1..feec0dc1f631a3a7c019b1ab0a8dcd024d4b43d4 100644 --- a/resources/assets/stylesheets/less/header.less +++ b/resources/assets/stylesheets/less/header.less @@ -9,9 +9,7 @@ color: @contrast-content-white; border-bottom-style: solid; height: @bar-bottom-container-height; - width: 100%; - position: relative; display: flex; flex-direction: row; @@ -31,6 +29,11 @@ z-index: 2; } +// Fix header covering relevant other areas +// @see https://gitlab.studip.de/studip/studip/-/issues/1019 +html { + scroll-padding-top: calc(@bar-bottom-container-height + 1em); +} #layout_footer, #barBottomright { diff --git a/resources/assets/stylesheets/scss/wiki.scss b/resources/assets/stylesheets/scss/wiki.scss index df75274d106fd0a4d13a25b20708cf346b661299..201d6af0e89b4b57e0cc26372be27a84e37bc6c8 100644 --- a/resources/assets/stylesheets/scss/wiki.scss +++ b/resources/assets/stylesheets/scss/wiki.scss @@ -39,9 +39,6 @@ textarea.wiki-editor { } body#wiki #main_content { - a:not([href]) { - scroll-margin-top: ceil($bar-bottom-container-height + 10); - } td.printcontent:last-child:not(:first-child) { padding-right: 22px; } diff --git a/resources/assets/stylesheets/studip.scss b/resources/assets/stylesheets/studip.scss index 3241caa7d542b3b660bb9d4dbf5f6ba92b7e67e6..7739b2ebf36c3ba4e328902781e9a1b388832f1e 100644 --- a/resources/assets/stylesheets/studip.scss +++ b/resources/assets/stylesheets/studip.scss @@ -47,9 +47,3 @@ width: 1px; } -// Fix header covering relevant other areas -// @see https://gitlab.studip.de/studip/studip/-/issues/1019 -html { - overflow: auto; - scroll-padding-top: calc(#{$bar-bottom-container-height} + 1em); -}