Ryuiso 4 meses atrás
pai
commit
977f08361a
1 arquivos alterados com 7 adições e 6 exclusões
  1. 7 6
      src/pages/layout/style.less

+ 7 - 6
src/pages/layout/style.less

@@ -108,16 +108,16 @@
     top: 64px;
     left: 0;
     z-index: 999;
-    
-    
+
+
     .ant-menu {
         background-color: transparent !important;
         overflow-x: hidden;
         overflow-y: auto;
-        
+
         &-item {
             transition: font-weight 0.2s ease;
-            
+
             &-selected, &-active {
                 font-weight: 600 !important;
                 color: @primary-color !important;
@@ -143,9 +143,10 @@
 
 
 .main-content {
-    height: calc(100vh - 48px);
-    overflow: auto;  // 添加滚动条height: ;
+    height: calc(100vh - 120px);
+    overflow-y: auto;
     position: relative;
+    padding-bottom: 20px;
 
     .breadcrumb {
         width: 100%;