Skip to content
Snippets Groups Projects
Commit b80ba646 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

don't set `overflow: auto` on HTML element, fixes #1293

Closes #1293 and #1294

Merge request studip/studip!789
parent fa3f0c4f
No related branches found
No related tags found
No related merge requests found
...@@ -9,9 +9,7 @@ ...@@ -9,9 +9,7 @@
color: @contrast-content-white; color: @contrast-content-white;
border-bottom-style: solid; border-bottom-style: solid;
height: @bar-bottom-container-height; height: @bar-bottom-container-height;
width: 100%; width: 100%;
position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
...@@ -31,6 +29,11 @@ ...@@ -31,6 +29,11 @@
z-index: 2; 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, #layout_footer,
#barBottomright { #barBottomright {
......
...@@ -39,9 +39,6 @@ textarea.wiki-editor { ...@@ -39,9 +39,6 @@ textarea.wiki-editor {
} }
body#wiki #main_content { body#wiki #main_content {
a:not([href]) {
scroll-margin-top: ceil($bar-bottom-container-height + 10);
}
td.printcontent:last-child:not(:first-child) { td.printcontent:last-child:not(:first-child) {
padding-right: 22px; padding-right: 22px;
} }
......
...@@ -48,13 +48,6 @@ ...@@ -48,13 +48,6 @@
width: 1px; 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] { [v-cloak] {
display: none; display: none;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment