mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
IE scrollbar adjustments; use calc to set content min-height (IE fails with flex and min-height).
This commit is contained in:
parent
829f60fec4
commit
ec4ff90273
3 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue