diff --git a/src/layouts/BasicLayout.less b/src/layouts/BasicLayout.less index 6ab937a8236cbfbdaaacfd9abdafe2118ea3d590..f2bc9afb673f9fd36b98062efa1d0c5b598ef2e2 100644 --- a/src/layouts/BasicLayout.less +++ b/src/layouts/BasicLayout.less @@ -11,7 +11,7 @@ height: 64px; position: relative; line-height: 64px; - padding-left: 24px; + padding-left: (@menu-collapsed-width - 32px) / 2; transition: all .3s; background: #002140; overflow: hidden; @@ -31,13 +31,6 @@ } } -:global(.ant-layout-sider-collapsed) .logo { - padding-left: 24px; - > a { - width: 32px; - } -} - .trigger { font-size: 20px; line-height: 64px;