]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_grid.scss
Merge pull request #3 from OsmosysSoftware/revert-1-issue-181
[bookstack] / resources / assets / sass / _grid.scss
index 1a1321e587335c498a3e8c0f8ab3248d01809d4f..de1ee83fb1caa914cc758ab12623584729286021 100644 (file)
@@ -11,20 +11,29 @@ body.flexbox {
   #content {
     flex: 1;
     display: flex;
-    min-height: 0px;
+    min-height: 0;
   }
 }
 
 .flex-fill {
   display: flex;
   align-items: stretch;
-  min-height: 0px;
+  min-height: 0;
+  position: relative;
   .flex, &.flex {
-    min-height: 0px;
+    min-height: 0;
     flex: 1;
   }
 }
 
+.flex-child > div {
+  flex: 1;
+}
+
+//body.ie .flex-child > div {
+//  flex: 1 0 0px;
+//}
+
 /** Rules for all columns */
 div[class^="col-"] img {
   max-width: 100%;
@@ -47,20 +56,6 @@ div[class^="col-"] img {
   }
 }
 
-.center-box {
-  margin: $-xl auto 0 auto;
-  padding: $-m $-xxl $-xl*2 $-xxl;
-  max-width: 346px;
-  display: inline-block;
-  text-align: left;
-  vertical-align: top;
-  &.login {
-    background-color: #EEE;
-    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
-    border: 1px solid #DDD;
-  }
-}
-
 .row {
   margin-left: -$-m;
   margin-right: -$-m;