浏览代码

全局样式

cxmo 1 年之前
父节点
当前提交
5af42d41d2
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/layouts/components/container/index.vue

+ 4 - 3
src/layouts/components/container/index.vue

@@ -844,14 +844,15 @@ const { noticeList,isShowNotice,currentNoticeList,noticeType,noticeCount,flag1,f
     margin-left: -1px;
     margin-left: -1px;
   }
   }
   .content-container {
   .content-container {
-    height: calc(100vh - 90px);
+    //height: calc(100vh - 90px);
     background: #f5f7f9;
     background: #f5f7f9;
     // position: relative;
     // position: relative;
     overflow-y: auto;
     overflow-y: auto;
     position: absolute;
     position: absolute;
-    padding-top: 22px;
+    //padding-top: 22px;
     left: 200px;
     left: 200px;
     top: 68px;
     top: 68px;
+    bottom: 0;
     right: 0;
     right: 0;
     z-index: 100;
     z-index: 100;
     /*修改滚动条样式*/
     /*修改滚动条样式*/
@@ -879,7 +880,7 @@ const { noticeList,isShowNotice,currentNoticeList,noticeType,noticeCount,flag1,f
       overflow: auto;
       overflow: auto;
       .content-wrapper {
       .content-wrapper {
         width: 100%;
         width: 100%;
-        padding: 0 30px 20px;
+        padding: 22px 30px;
         box-sizing: border-box;
         box-sizing: border-box;
         overflow: auto;
         overflow: auto;
         background: #f5f7f9;
         background: #f5f7f9;