Browse Source

🐛 Table filter menu should have max-height (#21602)

close #19542
pull/21518/head
偏右 5 years ago
committed by afc163
parent
commit
27c9c086b6
  1. 10
      components/table/style/index.less

10
components/table/style/index.less

@ -445,16 +445,14 @@
box-shadow: @box-shadow-base;
.@{ant-prefix}-dropdown-menu {
// https://github.com/ant-design/ant-design/issues/4916
// https://github.com/ant-design/ant-design/issues/19542
max-height: calc(100vh - 130px);
overflow-x: hidden;
border: 0;
border-radius: @border-radius-base @border-radius-base 0 0;
box-shadow: none;
// https://github.com/ant-design/ant-design/issues/4916
&-without-submenu {
max-height: 400px;
overflow-x: hidden;
}
&-item > label + span {
padding-right: 0;
}

Loading…
Cancel
Save