No square picture in glance card

Hi,
I like to use square entity pictures instead of round ones. So I use card mod.
Example:

'type: entities
entities:

  • entity: sensor.kuehlschrank_status
    name: Kühlschrank oben
    card_mod:
    style:
    hui-generic-entity-row$: |
    state-badge {
    border-radius: 0%;
    }’

Works perfekt.

In glance card nothing changes, pictures still circles.

'type: glance
entities:

  • entity: sensor.kuehlschrank_status
    name: Kühlschrank oben
    card_mod:
    style:
    hui-generic-entity-row$: |
    state-badge {
    border-radius: 0%;
    }’

Ist there a possibility to get round pictures in glance card?

  1. Use a proper formatting for a code (triple “`”).
  2. Seems that you used some card-mod code for Entities card - and then trying to use it thoughtlessly for another card. This is not correct since another card has another structure.
  3. You are going to use card-mod - and yet you created a new thread instead of asking the question in the dedicated card-mod thread. If you would choose the latter way - you will probably attract more people and solutions will be kept in one place, not decluttered in 100500 threads.
  4. In short - it is possible to create square images in Glance card: go to that card-mod thread → 1st post → link at the bottom → styles for Glance card.