tungmeister / hass-blind-card

Blind card for Home Assistant Lovelace UI
Apache License 2.0
33 stars 14 forks source link

Window image not centered #1

Closed simone7121 closed 3 years ago

simone7121 commented 3 years ago

When I insert the Custom: blind-card into a Custom: vertical-stack-in-card, the curtain is automatically decentralized on the card interface. I tried to solve it by using a built-in style and putting a custom css in it, but it doesn't override it.

This is the code

- type: custom:blind-card
    entities:
      - entity: cover.tradfri_blind
        name: Tenda Studio
        buttons_position: right
        title_position: top
        blind_color: '#636160'

And i've added this piece of custom CSS.

style: |
      .sc-blind-middle {
        margin: auto;
      }

But nothing happens.

Immagine 2021-09-13 092038

tungmeister commented 3 years ago

This is a bug with the vertical-stack-in-card. use custom:stack-in-card instead and it will be fine.