Skip to content

Commit

Permalink
Adjust integration filter height for search bar (#20382)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten authored Apr 3, 2024
1 parent 00837ac commit 92b7a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ha-filter-integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 92b7a3b

Please sign in to comment.