Skip to content

Conversation

@ildar170975
Copy link
Collaborator

When a name is hidden and align_icon: right, we can see an icon left-aligned:

  - type: custom:mini-graph-card
    entities:
      - sensor.xxx
    show:
      name: false
    align_icon: right
image

After the fix:
image

@ildar170975 ildar170975 linked an issue Dec 12, 2025 that may be closed by this pull request
@ildar170975 ildar170975 marked this pull request as ready for review December 12, 2025 03:41
@akloeckner
Copy link
Collaborator

While this seems a straightforward fix, I'm wondering why align_icon: state also right-aligns but uses a different CSS. Should this be consistent? Or is there a reason, it's different?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

align_icon + show.name interaction

2 participants