CSS: Fix flex-box scrolling for different browsers

This commit is contained in:
Florian Strohmaier 2019-12-11 12:57:15 +01:00
parent 168fcfec36
commit 680467a1aa
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@ html {
body { body {
height: 100%; height: 100%;
overflow: hidden;
} }
#layout { #layout {

View File

@ -104,6 +104,11 @@
flex-direction: column; flex-direction: column;
} }
#main {
flex: 1 1 auto;
height: 0;
}
ul > .selected > a:after, ul > .selected > a:after,
ul > .nav-item.active:after { ul > .nav-item.active:after {
display: none; display: none;