Skip to content

Commit

Permalink
Make popup-cards take no space in layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed Sep 7, 2022
1 parent c48e6e4 commit 77583c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/plugin/popup-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ class PopupCard extends LitElement {
}
}

getCardSize() {
return 0;
}

render() {
if (!this.editMode) return html``;
return html` <ha-card>
Expand Down

0 comments on commit 77583c7

Please sign in to comment.