add padding !important, restore menu retraction animate

Conflicts:
	components/menu/style/index.less
This commit is contained in:
jljsj 2017-09-12 15:30:36 +08:00 committed by afc163
parent 2a4adeef46
commit aea18c3627

View File

@ -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 {