ソースを参照

Fix scrolling issues in IE11.

Paulo Reis 9 年 前
親
コミット
829f60fec4

+ 4 - 2
services/web/public/stylesheets/app/project-list.less

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

+ 1 - 1
services/web/public/stylesheets/core/ol-variables.less

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

+ 0 - 5
services/web/public/stylesheets/core/scaffolding.less

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