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

close #19542
This commit is contained in:
偏右 2020-02-26 14:53:02 +08:00 committed by GitHub
parent b617b41dcb
commit 0154154c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,15 +318,14 @@
// Reset menu
.@{dropdown-prefix-cls}-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;
box-shadow: none;
// https://github.com/ant-design/ant-design/issues/4916
&-without-submenu {
max-height: 400px;
overflow-x: hidden;
}
}
min-width: 96px;
background-color: @table-filter-dropdown-bg;