Skip to content

Commit e0e99e4

Browse files
authored
fix(Table): column list overflow when too many drop items are present (#5725)
* refactor: 代码格式化 * refactor: 增加滚动条
1 parent e8be200 commit e0e99e4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/BootstrapBlazor/Components/Table/Table.razor.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
--bb-table-footer-font-weight: blod;
1212
--bb-table-card-row-padding: .75rem .5rem;
1313
--bb-table-columnlist-max-height: var(--bb-dropdown-max-height);
14-
--bs-table-striped-bg: rgba(0,0,0,.05);
15-
--bs-table-hover-bg: rgba(0,0,0,.075);
14+
--bs-table-striped-bg: rgba(0, 0, 0, .05);
15+
--bs-table-hover-bg: rgba(0, 0, 0, .075);
1616
--bb-table-search-body-margin: 1rem;
1717
--bb-table-copy-column-margin-right: .5rem;
1818
--bb-table-column-fixed-border-color: rgba(var(--bs-body-color-rgb), .18);
@@ -309,6 +309,7 @@
309309

310310
.table-toolbar .dropdown-menu {
311311
max-height: var(--bb-table-columnlist-max-height);
312+
overflow: auto;
312313
}
313314

314315
.table-toolbar .dropdown-menu .dropdown-item span {

0 commit comments

Comments
 (0)