Et2Select: Fix unwanted tag scrollbars for some multiple selects

This commit is contained in:
nathan 2023-11-22 09:32:42 -07:00
parent f68b1aae25
commit 399a0c1171

View File

@ -116,11 +116,11 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
::part(tags) {
margin-left: 0px;
max-height: initial;
overflow-y: auto;
gap: 0.1rem 0.5rem;
}
:host([rows]) ::part(tags) {
overflow-y: auto;
max-height: calc(var(--rows, 5) * 2.3em);
}