tesla-style-solar-power-card icon indicating copy to clipboard operation
tesla-style-solar-power-card copied to clipboard

Doesn't work within conditional card

Open mastermc0 opened this issue 3 years ago • 1 comments

Hello,

If you attempt to use this card within a conditional card it does not appear to scale correctly.

Happy to provide more information if required.

Thanks.

mastermc0 avatar Jun 07 '21 09:06 mastermc0

Had not noticed that. The problem is I'm actually using the size of the card to calculate the size of the lines and bubbles and modify it accordingly. This is because I'm using svgs that have to be transformed with pixel sizes. It seems that I don't get a card width attribute when it is being used through a conditional card. This error is also there when you edit a card. Hopefully I will have a css animation version soon and this will work with that one, but it is just an idea for now.

reptilex avatar Jul 09 '21 10:07 reptilex