mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-14 20:14:11 +01:00
Et2Select: Fix single line overflow to count correctly for any egw content size preference
This commit is contained in:
parent
955941d100
commit
1a8632049d
@ -122,7 +122,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
|
||||
:host([rows]) ::part(tags) {
|
||||
overflow-y: auto;
|
||||
max-height: calc(var(--rows, 5) * 2.3em);
|
||||
max-height: calc(var(--rows, 5) * (var(--sl-input-height-medium) * 0.8))
|
||||
}
|
||||
|
||||
:host([rows='1']) ::part(tags) {
|
||||
@ -769,7 +769,6 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
// Popup still here. Remove it
|
||||
popup.remove();
|
||||
}
|
||||
this.removeEventListener("mouseleave", this._handleMouseLeave);
|
||||
this.select.requestUpdate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user