mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 14:59:35 +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 {
|
> .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
|
||||||
left: 0;
|
left: 0;
|
||||||
text-overflow: clip;
|
text-overflow: clip;
|
||||||
padding: 0 (@menu-collapsed-width - 16px) / 2;
|
padding: 0 (@menu-collapsed-width - 16px) / 2 !important;
|
||||||
&:after {
|
&:after {
|
||||||
display: none;
|
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 {
|
&-item-group-list {
|
||||||
.@{menu-prefix-cls}-item,
|
.@{menu-prefix-cls}-item,
|
||||||
.@{menu-prefix-cls}-submenu-title {
|
.@{menu-prefix-cls}-submenu-title {
|
||||||
|
Loading…
Reference in New Issue
Block a user