diff --git a/resources/assets/stylesheets/less/header.less b/resources/assets/stylesheets/less/header.less index 53ddf5dda45ef9e841f32a22c3a9af62384f8d43..ef4e4442a1607f5d0d8403cd6e4db6d4123ac59d 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 1a5bb5e5b1fa5cfddcbf4756967a1e943f0bd2c5..558746ed6a10041186698bec568129268c8f4029 100644 --- a/resources/assets/stylesheets/studip.scss +++ b/resources/assets/stylesheets/studip.scss @@ -48,13 +48,6 @@ 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); -} - [v-cloak] { display: none; }