Commit e531356a authored by afc163's avatar afc163

Fix logo padding calculate way

parent 3dec7c8b
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
height: 64px; height: 64px;
position: relative; position: relative;
line-height: 64px; line-height: 64px;
padding-left: 24px; padding-left: (@menu-collapsed-width - 32px) / 2;
transition: all .3s; transition: all .3s;
background: #002140; background: #002140;
overflow: hidden; overflow: hidden;
...@@ -31,13 +31,6 @@ ...@@ -31,13 +31,6 @@
} }
} }
:global(.ant-layout-sider-collapsed) .logo {
padding-left: 24px;
> a {
width: 32px;
}
}
.trigger { .trigger {
font-size: 20px; font-size: 20px;
line-height: 64px; line-height: 64px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment