Skip to content

Commit

Permalink
fix: remove unnecessary div in CardComponent (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
lem-onade authored Feb 18, 2022
1 parent 4431a3b commit 03f52f6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CardComponent extends LitElement {
return [
unsafeCSS(Theme),
css`
.large-card {
:host {
display: flex;
flex-direction: column;
gap: 0;
Expand Down Expand Up @@ -70,7 +70,6 @@ export class CardComponent extends LitElement {
const classes = { 'reduced-top-padding': this.hideImage };

return html`
<div class="large-card" part="card">
${!this.hideHeader
? html`
Expand Down Expand Up @@ -100,8 +99,6 @@ export class CardComponent extends LitElement {
`
: html``
}
</div>
`;

}
Expand Down

0 comments on commit 03f52f6

Please sign in to comment.