From 32bd2a10841a9633dbb1f5df9cc43c2c8d610b4a Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 9 Nov 2022 09:30:53 -0700 Subject: [PATCH] SearchMixin: Make sure dropdown doesn't cover bottom border --- api/js/etemplate/Et2Select/SearchMixin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index 60d74a0ef2..8009574255 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -633,7 +633,7 @@ export const Et2WithSearchMixin = >(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")) );