Browse Source

Update dropdown.less (#1491)

去除 menu 中的 `overflow: hidden` (会导致子菜单无法显示)
改为用伪类 `only-child`
pull/1496/head
Sebastian Blade 9 years ago
committed by afc163
parent
commit
e5118a9b1c
  1. 5
      style/components/dropdown.less

5
style/components/dropdown.less

@ -46,7 +46,6 @@
box-shadow: @box-shadow-base;
background-clip: padding-box;
border: 1px solid @border-color-base;
overflow: hidden;
&-item,
&-submenu-title {
@ -91,6 +90,10 @@
border-radius: 0 0 @border-radius-base @border-radius-base;
}
&:only-child {
border-radius: @border-radius-base;
}
&-divider {
height: 1px;
overflow: hidden;

Loading…
Cancel
Save