Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stickpin committed Mar 8, 2024
1 parent d6a1f2a commit 58dd2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stack-in-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class StackInCard extends LitElement implements LovelaceCard {
// if (element.shadowRoot.querySelector('stack-in-card')) return;
const searchEles = element.shadowRoot.getElementById('root') || element.shadowRoot.getElementById('card');
if (!searchEles) return;
element.shadowRoot.getElementById("root").setAttribute('style', 'gap:var(--vertical-stack-card-gap,var(--stack-card-gap,0px)) !important');
element.shadowRoot.getElementById('root').setAttribute('style', 'gap:var(--vertical-stack-card-gap,var(--stack-card-gap,0px)) !important');
this._loopChildren(searchEles as LovelaceCard, withBg);
} else {
this._updateStyle(card, withBg);
Expand Down

0 comments on commit 58dd2c5

Please sign in to comment.