浏览代码

fix: 修复整体样式问题

周玉环 14 小时之前
父节点
当前提交
10fc7b83d9
共有 1 个文件被更改,包括 10 次插入2 次删除
  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;
   }