Skip to content

Commit

Permalink
Fix Menu menu collapsed in Chrome (#19476)
Browse files Browse the repository at this point in the history
* Update index.less

修复margin重合样式问题,(次问题造成menu组件下拉不顺畅)

* Update index.less

解决margin重合问题,overflow方式会有副作用,采用padding解决margin重合现象。
  • Loading branch information
wangweijun0418 authored and afc163 committed Oct 30, 2019
1 parent 2ee2cc3 commit d99d90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu/style/index.less
Expand Up @@ -364,7 +364,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 d99d90b

Please sign in to comment.