From 7fc14eddd9fdb718f6fbbbcd01fd01cb428c296b Mon Sep 17 00:00:00 2001 From: Louis-7 Date: Mon, 3 Sep 2018 13:18:46 +0800 Subject: [PATCH] fix sidebar shake once mouse over it Signed-off-by: Louis-7 --- src/components/Layout/Layout.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/Layout/Layout.less b/src/components/Layout/Layout.less index 7fb56e0..bf5adc4 100644 --- a/src/components/Layout/Layout.less +++ b/src/components/Layout/Layout.less @@ -25,6 +25,11 @@ } .ant-menu { + &.ant-menu-inline { + .ant-menu-item { + width: 100%; + } + } .ant-menu-item, .ant-menu-submenu-title { overflow: hidden;