Browse Source

fix: Table filter sub menu max height with many items (#22230)

close #22228
pull/22236/head
偏右 5 years ago
committed by GitHub
parent
commit
9a5cea7302
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/dropdown/style/index.less
  2. 6
      components/table/style/index.less

1
components/dropdown/style/index.less

@ -94,7 +94,6 @@
ul {
margin-right: 0.3em;
margin-left: 0.3em;
padding: 0;
}
}

6
components/table/style/index.less

@ -339,6 +339,12 @@
border-radius: @border-radius-base;
box-shadow: @box-shadow-base;
&-submenu > ul {
max-height: calc(100vh - 130px);
overflow-x: hidden;
overflow-y: auto;
}
// Checkbox
&,
&-submenu {

Loading…
Cancel
Save