Skip to content

Commit

Permalink
feat(cosmoz-tab-card): add css rules for heading
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `cosmoz-tab-card` heading must be an attribute
  • Loading branch information
AsrinneN committed Nov 22, 2024
1 parent ab1a378 commit ff69417
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/cosmoz-tab-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ff69417

Please sign in to comment.