diff --git a/layout-card.js b/layout-card.js index 8f3c4db..01702f4 100644 --- a/layout-card.js +++ b/layout-card.js @@ -29,6 +29,10 @@ class LayoutCard extends cardTools.LitElement { this.style.padding = "0"; } this.build(); + this._cardModder = { + target: this, + styles: this.shadowRoot.querySelector("style") + }; } static get styles() {