Fix scrolling issues in IE11.

This commit is contained in:
Paulo Reis 2017-10-16 14:08:48 +01:00
parent ef9651cc88
commit 829f60fec4
3 changed files with 5 additions and 8 deletions

View file

@ -24,7 +24,8 @@
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
width: 100%; width: 100%;
overflow: scroll; overflow-x: hidden;
overflow-y: auto;
} }
.project-list-content when (@is-overleaf) { .project-list-content when (@is-overleaf) {
@ -65,7 +66,8 @@
.project-list-sidebar when (@is-overleaf) { .project-list-sidebar when (@is-overleaf) {
height: 100%; height: 100%;
overflow: scroll; overflow-x: hidden;
overflow-y: auto;
} }
.project-list-main { .project-list-main {

View file

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

View file

@ -33,11 +33,6 @@ body {
position: relative; position: relative;
padding-top: @header-height; padding-top: @header-height;
padding-bottom: @footer-height; padding-bottom: @footer-height;
display: flex;
align-items: stretch;
> .content {
flex-grow: 1;
}
} }
// Reset fonts for relevant elements // Reset fonts for relevant elements