Adjust integration filter height for search bar (#20382)

This commit is contained in:
Bram Kragten 2024-04-03 21:54:27 +02:00 committed by GitHub
parent 00837acdfc
commit 92b7a3b477
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ export class HaFilterIntegrations extends LitElement {
setTimeout(() => {
if (!this.expanded) return;
this.renderRoot.querySelector("mwc-list")!.style.height =
`${this.clientHeight - 49}px`;
`${this.clientHeight - 49 - 32}px`; // 32px is the height of the search input
}, 300);
}
}