dnguyen800 / air-visual-card

A Lovelace card showing air quality data from airvisual.com. Requires the AirVisual component.
MIT License
105 stars 36 forks source link

Top left corner do not round #39

Closed yuvalabou closed 3 years ago

yuvalabou commented 4 years ago

image

The top left corner is not aware of the radius set by the theme..

      - type: custom:air-visual-card
        hide_title: true
        air_pollution_level: sensor.u_s_air_pollution_level
        air_quality_index: sensor.u_s_air_quality_index
        main_pollutant: sensor.u_s_main_pollutant
dnguyen800 commented 3 years ago

Thanks for letting me know. Unfortunately I couldn't figure out how to fix the issue. Assigning border-radius to the value defined by the HA skin doesn't seem to have effect. Issue is likely caused with the 'city' div class, which is located above the face and other div classes. It does have the rounded border but is hidden in this view.

dnguyen800 commented 3 years ago

fixed in latest release.