thomasloven/lovelace-card-modder

border-radius not working on glance cards anymore.

Sjeff opened this issue · 3 comments

Sjeff commented

HA-version: 0.80.1
Docker
Chrome/Safari

Yaml:

          - type: custom:card-modder
            card:  
              type: glance
              title: Intel NUC
              column_width: calc(100% / 5)
              entities:
                - sensor.sonoffpow02_current
                - sensor.sonoffpow02_power
                - sensor.sonoffpow02_voltage
                - entity: sensor.sonoffpow02_today
                  name: Vandaag
                - entity: sensor.sonoffpow02_yesterday
                  name: Gister
            style:
              "--paper-card-background-color": "#2b2d3199"
              "border-radius": "20px"
              "color": "white"

example

Sjeff commented

Thanks @thomasloven

Can you also take a look at the column_width: calc (100% / 6)
This is not working after the update to fix the border-radius.

That's probably due to changes in the glance card. It was accidentally fundamentally changed between 0.80.0 and 0.80.1.
Nothing I can do.

Strike that.
It should be fixed now.