diff --git a/src/components/SiderMenu/index.less b/src/components/SiderMenu/index.less index d801b4bd36dc88f9d8478bf76c01e47397dec8b8..c08248d1c1da4af546b811a3a207e441700502a1 100644 --- a/src/components/SiderMenu/index.less +++ b/src/components/SiderMenu/index.less @@ -35,9 +35,18 @@ position: fixed; top: 0; left: 0; - :global(.ant-menu-root) { - overflow-y: auto; - height: ~'calc(100vh - @{nav-header-height})'; + :global { + .ant-menu-root { + overflow-y: auto; + height: ~'calc(100vh - @{nav-header-height})'; + } + .ant-menu-inline { + border-right: 0; + .ant-menu-item, + .ant-menu-submenu-title { + width: 100%; + } + } } } &.light {