-
Hi all, Let me first just state that HA-Floorplan is amazing and so much thanks to everybody who has done any work on this. My question is, I have a floorplan where the width and the height aren't very similar so I'd like to have the SVG rotate based on the orientation of the device (ie my phone is portrait while my computer is landscape). I can get the SVG to rotate fine by using the following in my css file: @media (orientation: landscape) { The problem with this is that the card doesn't resize appropriately. I'm a relative novice to CSS and was wondering if anyone knew how to get that working properly. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hi @Abductist Thanks for trying out floorplan. We haven't done any work on supporting rotation/orientation, but if we come up with a good solution, we'll post it there. |
Beta Was this translation helpful? Give feedback.
-
Hi Abductist Did you find a good solution? If so, please share your code, so other people can use it :) If not, kindly let us know as well. |
Beta Was this translation helpful? Give feedback.
Hi Abductist
Did you find a good solution?
If so, please share your code, so other people can use it :)
If not, kindly let us know as well.