Просмотр исходного кода

Fixed flexbox based width issues.

Paulo Reis 9 лет назад
Родитель
Сommit
e1775128e4

+ 8 - 0
services/web/public/stylesheets/app/project-list.less

@@ -29,11 +29,19 @@
 
 .project-list-content when (@is-overleaf = true) {
 	.container-fluid;
+	margin: 0;
 }
+
 .project-list-content when (@is-overleaf = false) {
 	.container;
 }
 
+.project-list-content {
+	display: flex;
+	flex-direction: column;	
+	flex: 1 0 100%;
+}
+
 .sidebar-new-proj-btn when (@is-overleaf) {
 	.btn-block;
 }

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

@@ -118,7 +118,7 @@
 @folders-title-text-transform   : uppercase;
 @folders-tag-display            : block;
 @folders-tag-line-height        : 1.4;
-@folders-tag-padding            : @folders-menu-item-v-padding 20px @folders-menu-item-v-padding @folders-menu-item-v-padding;
+@folders-tag-padding            : @folders-menu-item-v-padding 20px @folders-menu-item-v-padding @folders-menu-item-h-padding;
 @folders-tag-menu-color         : #FFF;
 @folders-tag-hover              : @sidebar-hover-bg;
 @folders-tag-border-color       : @folders-tag-menu-color;