From a2abe411c491c156426bc43f32d7f6d2b1695b89 Mon Sep 17 00:00:00 2001 From: zuiidea Date: Mon, 30 Jan 2017 23:38:16 +0800 Subject: [PATCH] fix:sidebar scroll and fold overflow visible --- src/components/layout/main.less | 6 ++++++ 1 file changed, 6 insertions(+) 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;