Replies: 2 comments 2 replies
-
Indeed not supported yet, so feature request it is. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Pro tip: i only look at the issues page when I want to code something. If you need this, raise an issue :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use
layout-card
in CSS grid mode to have two columns in my weather lovelace view. When the window width is less than a certain value, the two columns collapse into a single one. The important part is that I set up the temperatures graph always spanning the full width, that is the total number of columns that are displayed.As is, the plotly graph card uses a fixed height whatever the current width is. I would like it to set its height from a given aspect-ratio but did not succeed in doing so. I tried setting the
aspect-ratio
CSS property of theha-card
withcard-mod
but that only works while editing the card. Is it a bug withcard-mod
, some incompatibility betweencard-mod
and the wayplotly
works ?Anyway, it would be much better and less of a hack to have a dedicated setting to set aspect-ratio. Is there a possibility to do so already or should I file a feature request ?
Beta Was this translation helpful? Give feedback.
All reactions