diff --git a/src/cosmoz-tab-card.js b/src/cosmoz-tab-card.js index 6b44c64..81e3158 100644 --- a/src/cosmoz-tab-card.js +++ b/src/cosmoz-tab-card.js @@ -85,6 +85,14 @@ const style = css` width: var(--cosmoz-tab-card-width, 300px); } + :host([heading]) h1 { + display: block; + } + + h1.heading { + display: none; + } + .collapse { display: flex; flex-direction: column;