Skip to content

Commit

Permalink
add padding !important, restore menu retraction animate
Browse files Browse the repository at this point in the history
Conflicts:
	components/menu/style/index.less
  • Loading branch information
jljsj33 authored and afc163 committed Sep 12, 2017
1 parent 2a4adee commit aea18c3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions components/menu/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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 {
Expand Down

0 comments on commit aea18c3

Please sign in to comment.