mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
Fix calendar participant select did not show selected tags while the dropdown was open
Tags were only shown once dropdown was closed
This commit is contained in:
parent
f58c10a7e9
commit
e66c9512f1
@ -115,13 +115,14 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
/* Maximum height + scrollbar on tags (+ other styling) */
|
||||
|
||||
::part(tags) {
|
||||
overflow-y: auto;
|
||||
margin-left: 0px;
|
||||
max-height: initial;
|
||||
min-height: auto;
|
||||
gap: 0.1rem 0.5rem;
|
||||
}
|
||||
|
||||
:host([rows]) ::part(tags) {
|
||||
overflow-y: auto;
|
||||
max-height: calc(var(--rows, 5) * (var(--sl-input-height-medium) * 0.8))
|
||||
}
|
||||
|
||||
@ -132,9 +133,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
/* No rows set, default height limit about 5 rows */
|
||||
|
||||
:host(:not([rows])) ::part(tags) {
|
||||
min-height: inherit;
|
||||
max-height: 11em;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
select:hover {
|
||||
|
@ -151,11 +151,11 @@ export const Et2WithSearchMixin = dedupeMixin(<T extends Constructor<LitElement>
|
||||
display: none;
|
||||
}
|
||||
|
||||
:host([multiple]) sl-select[open]::part(tags) {
|
||||
sl-select[open][multiple]::part(tags) {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
:host([multiple]) sl-select[open]::part(combobox) {
|
||||
sl-select[open][multiple]::part(combobox) {
|
||||
flex-flow: wrap;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user