diff --git a/src/components/layout/main.less b/src/components/layout/main.less index 2d5a23a..93362f6 100644 --- a/src/components/layout/main.less +++ b/src/components/layout/main.less @@ -24,6 +24,7 @@ :global { .ant-menu-root { width: 100%; + overflow: visible; & > .ant-menu-item { padding: 0; @@ -140,6 +141,11 @@ color: #999; } + .ant-menu-root { + height: ~"calc(100vh - 144px)"; + overflow-y: scroll; + } + .ant-menu { transition: @transition-ease-out;