Et2Select: Fix unwanted tag scrollbars for some multiple selects

This commit is contained in:
nathan 2023-11-22 09:32:42 -07:00
parent 4159e2493c
commit c6485ebd4f

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);
}