mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
SearchMixin: Make sure dropdown doesn't cover bottom border
This commit is contained in:
parent
98dc356d75
commit
32bd2a1084
@ -633,7 +633,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
||||
{
|
||||
this.dropdown?.setAttribute("distance",
|
||||
!this._activeControls || this._activeControls?.classList.contains("novalue") ?
|
||||
"" :
|
||||
parseInt(getComputedStyle(this.control).getPropertyValue("border-width")) :
|
||||
// Make room for search below
|
||||
parseInt(getComputedStyle(this._activeControls).getPropertyValue("--sl-input-height-medium"))
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user