marymelisa 4 年之前
父節點
當前提交
df75b55c39
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/layout/components/top.vue

+ 5 - 2
src/layout/components/top.vue

@@ -163,10 +163,13 @@ export default defineComponent({
         .inlineflex;
         border-bottom: 1px solid @m-black2;
         .m-layout-left {
-            height: 100%;
+            height: calc(100vh - 40px);
             background: @m-black4;
+            overflow: hidden;
             .ant-layout-sider-children {
-                ul.ant-menu.ant-menu-inline {
+                ul.ant-menu.ant-menu-inline.left-menu {
+                    height: calc(100vh - 80px);
+                    overflow-y: auto;
                     li.ant-menu-submenu {
                         padding-bottom: 0;
                         .ant-menu-submenu-title {