Skip to content

Commit

Permalink
fix(person): align icon to center if no name and no state (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Apr 25, 2022
1 parent 9af3b59 commit befa179
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cards/person-card/person-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export class PersonCard extends LitElement implements LovelaceCard {
hasHold: hasAction(this._config.hold_action),
hasDoubleClick: hasAction(this._config.double_tap_action),
})}
hide_info=${hideName && hideState}
>
${picture
? html`
Expand Down

0 comments on commit befa179

Please sign in to comment.