Et2Select: Vertically center multiple tags

This commit is contained in:
nathan 2022-10-13 09:33:04 -06:00
parent 53e868b47b
commit 69ce014aa6

View File

@ -104,6 +104,10 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
overflow-y: auto; overflow-y: auto;
gap: 0.1rem 0.5rem; gap: 0.1rem 0.5rem;
} }
.select--medium .select__tags {
padding-top: 2px;
padding-bottom: 2px;
}
:host([rows]) .select__tags { :host([rows]) .select__tags {
max-height: calc(var(--rows, 5) * 1.35rem); max-height: calc(var(--rows, 5) * 1.35rem);
} }