Fix submenu width, close #8236

This commit is contained in:
afc163 2017-11-20 14:37:14 +08:00
parent 8e6e91b932
commit 7049a45d8e

View File

@ -347,12 +347,19 @@
height: @menu-item-height;
margin-top: 4px;
margin-bottom: 4px;
display: inline-block;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
// disable margin collapsed
.@{menu-prefix-cls}-submenu {
padding-bottom: 0.01px;
}
.@{menu-prefix-cls}-item:not(:last-child) {
margin-bottom: 8px;
}
> .@{menu-prefix-cls}-item,
> .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
line-height: @menu-inline-toplevel-item-height;