Skip to content

Commit

Permalink
Fix use of hostStyle merged into state badge
Browse files Browse the repository at this point in the history
  • Loading branch information
steverep committed Sep 22, 2023
1 parent 98c44ab commit d4fb836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/entity/state-badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class StateBadge extends LitElement {
backgroundImage = `url(${imageUrl})`;
this._showIcon = false;
if (domain === "update") {
hostStyle.borderRadius = "0";
this.style.borderRadius = "0";
}
} else if (this.color) {
// Externally provided overriding color wins over state color
Expand Down

0 comments on commit d4fb836

Please sign in to comment.