Skip to content

Commit

Permalink
间距margin重置的bug (#1353) #873
Browse files Browse the repository at this point in the history
* 间距margin重置的bug

* Update index.less

解决margin重合问题,overflow方式会有副作用,采用padding解决margin重合现象。
  • Loading branch information
wangweijun0418 authored and tangjinzhou committed Oct 30, 2019
1 parent 46644ff commit e1b126c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@

// disable margin collapsed
.@{menu-prefix-cls}-submenu {
padding-bottom: 0.01px;
padding-bottom: 0.02px;
}

.@{menu-prefix-cls}-item:not(:last-child) {
Expand Down

0 comments on commit e1b126c

Please sign in to comment.