diff --git a/resources/assets/stylesheets/less/header.less b/resources/assets/stylesheets/less/header.less index 94d6b681a52c716b2e5be98f9fcc370b9d622b8e..2a91d67c1438a9cddac6e19df910437366bb1804 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..83bd85372ead94a6bd6957fb4200fcb2d3f1e8f6 100644 --- a/resources/assets/stylesheets/studip.scss +++ b/resources/assets/stylesheets/studip.scss @@ -46,10 +46,3 @@ white-space: nowrap; 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); -}