IE scrollbar adjustments; use calc to set content min-height (IE fails with flex and min-height).

This commit is contained in:
Paulo Reis 2017-10-17 12:24:47 +01:00
parent 829f60fec4
commit ec4ff90273
3 changed files with 6 additions and 1 deletions

View file

@ -68,6 +68,7 @@
height: 100%;
overflow-x: hidden;
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
.project-list-main {
@ -272,6 +273,7 @@ ul.structured-list {
margin: 0;
overflow: hidden;
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
li {
border-bottom: 1px solid @structured-list-border-color;
padding: (@line-height-computed / 4) 0;

View file

@ -29,7 +29,7 @@
@navbar-brand-image-url : url(/img/ol-brand/overleaf-white.svg);
// Backgrounds
@body-bg : @ol-blue-gray-1;
@body-bg : #FFF;
@content-alt-bg-color : @ol-blue-gray-1;
// Typography

View file

@ -33,6 +33,9 @@ body {
position: relative;
padding-top: @header-height;
padding-bottom: @footer-height;
& > .content {
min-height: calc(~"100vh -" (@header-height + @footer-height));
}
}
// Reset fonts for relevant elements