custom-cards / circle-sensor-card

A custom component for displaying sensor values as cards or elements
Apache License 2.0
174 stars 23 forks source link

Bug in version 1.2.1 #28

Open therealhalifax opened 3 years ago

therealhalifax commented 3 years ago

since the update to version 1.2.1 i see a very strange behavior. the size and the position of the circles is changed. Please see the attached pictures: https://www.dropbox.com/sh/xcnpjcrahft9lcd/AAB01Mg_c4_w5hBmMqjig72Ca?dl=0


  - type: custom:circle-sensor-card
    entity: sensor.synologynas_volume_1_volume_used
    max: 100
    min: 0
    stroke_width: 20
    fill: rgba(0, 0, 0, 0)
    font_style:
      color: white
      font-size: 90%
    gradient: false
    units: '%'
    show_max: false
    color_stops:
      '80': '#FFFF00'
      '90': '#FF0000'
    style:
      top: 25%
      left: 8%
      width: 10%
      transform: none
r1cht3r commented 3 years ago

Also seeing this.

weezer562 commented 3 years ago

You can likely remove the "left" and "top" config in the container portion in the js file in order to get it back to normal for now.

therealhalifax commented 3 years ago

You can likely remove the "left" and "top" config in the container portion in the js file in order to get it back to normal for now.

You mean the css Code in the js file?

For now I just switched back to previous version.

therealhalifax commented 3 years ago

You can likely remove the "left" and "top" config in the container portion in the js file in order to get it back to normal for now.

unfortionatly it dosnt work. I installed the version 1.2.1 again, and changed what you mentioned, but the result is the same as before. so I go back to 1.2.0 again.

michl270 commented 3 years ago

same here - pls update - also appearing on version 1.2.2