Browse Source

修改样式

lighter 1 year ago
parent
commit
da77a88e9a
1 changed files with 11 additions and 9 deletions
  1. 11 9
      src/css/layout.scss

+ 11 - 9
src/css/layout.scss

@@ -49,29 +49,31 @@
 .layout_container {
   @include max_h_w;
   display: flex;
-  flex-direction: row;
+  flex-direction: column;
 
   > header {
     margin-bottom: 8px;
   }
 
-  > aside {
-    margin-right: 8px;
-  }
-
   > .layout_main {
     flex: 1;
     width: 0;
+    height: 100%;
   }
 
 }
 
-.layout-vertical {
-  flex-direction: column;
+.layout-horizontal {
+  flex-direction: row;
+
+  > aside {
+    margin-right: 8px;
+  }
 
   > .layout_main {
-    height: 0;
-    width: 100%;
+    width: 0;
+    height: 100%;
+    flex: 1;
   }
 }