mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
add padding !important, restore menu retraction animate
Conflicts: components/menu/style/index.less
This commit is contained in:
parent
2a4adeef46
commit
aea18c3627
@ -340,7 +340,7 @@
|
||||
> .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
|
||||
left: 0;
|
||||
text-overflow: clip;
|
||||
padding: 0 (@menu-collapsed-width - 16px) / 2;
|
||||
padding: 0 (@menu-collapsed-width - 16px) / 2 !important;
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
@ -366,13 +366,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-vertical&-inline-collapsed {
|
||||
> .@{menu-prefix-cls}-item,
|
||||
> .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
&-item-group-list {
|
||||
.@{menu-prefix-cls}-item,
|
||||
.@{menu-prefix-cls}-submenu-title {
|
||||
|
Loading…
Reference in New Issue
Block a user