Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

border-radius not working on glance cards anymore. #2

Closed
Sjeff opened this issue Oct 15, 2018 · 3 comments
Closed

border-radius not working on glance cards anymore. #2

Sjeff opened this issue Oct 15, 2018 · 3 comments

Comments

@Sjeff
Copy link

Sjeff commented Oct 15, 2018

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
Copy link
Author

Sjeff commented Oct 16, 2018

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.

@thomasloven
Copy link
Owner

thomasloven commented Oct 16, 2018

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.

@thomasloven
Copy link
Owner

Strike that.
It should be fixed now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants