Skip to content

Resize by hieght does not seem to work in panel mode #388

Answered by slipx06
B00t4me asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. Yes this is by design and has to do with scaling the SVG portal and viewbox. In panel mode you need to change the width to set card height in order to maintain the correct proportions and scaling. Its noted in the documentation.

card_height: | Optional | 396px | Only used when panel_mode: false. Sets the card height in pixels. Specify the value i.e. 400px or provide a sensor i.e. input.numer_height
card_width: | Optional | 100% | Only used when panel_mode: true. Sets the card width in pixels or percentage 400px or 80%. For adjustments when using the Panel(1 card) view types or grid layouts

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by slipx06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type/bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #381 on April 16, 2024 16:51.