Skip to content

Commit

Permalink
fix: Fix getCardSize() (denysdovhan#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBartusek authored Jun 7, 2021
1 parent a204bc4 commit 3e8c4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vacuum-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class VacuumCard extends LitElement {
}

getCardSize() {
return 2;
return this.config.compact_view || false ? 3 : 8;
}

shouldUpdate(changedProps) {
Expand Down

0 comments on commit 3e8c4fc

Please sign in to comment.