Browse Source

fix: 修复整体样式问题

周玉环 1 ngày trước cách đây
mục cha
commit
10fc7b83d9
1 tập tin đã thay đổi với 10 bổ sung2 xóa
  1. 10 2
      xinkeaboard-web/components/articleLeft.vue

+ 10 - 2
xinkeaboard-web/components/articleLeft.vue

@@ -164,14 +164,20 @@ if (process.client) {
   width: 338px;
   height: 100%;
   float: left;
+
+  .article_left {
+    display: flex;
+    height: 100%;
+    flex-direction: column;
+  }
   &.active{
     position: fixed;
     top: 70px;
     z-index: 1;
   }
   .nch_module {
-    margin-bottom: 10px;
-    max-height: 400px;
+    // margin-bottom: 10px;
+    // max-height: 400px;
     background-color: #fff;
 
     .title {
@@ -195,6 +201,8 @@ if (process.client) {
   }
 
   .nch_module_style02 {
+    flex: 1;
+    height: 100%;
     border-top: solid 4px $colorMain;
     overflow: auto;
   }