Make full_height option per image size not overall floorplan #221
OzGav
started this conversation in
Hanging feature requests
Replies: 1 comment
-
Hi OzGav. Arn't it possible to just create a few rules in CSS with media queries? It's possible to target both landscape vs portrait, screen-size and more in a media query, so I found it a bit overkill to implement the logic within ha-floorplan. I'm not sure if you agree. min_width and different .svg-files wound be a real pain, cause it's requering us to listen for a screen-size change, else I'd be implemented only "half way" by just picking up the current screen-size :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just came across a situation where I have a remote that is basically designed for widescreen (landscape) layouts. I decided I want to be able to use it on my mobile which worked but the buttons were very small. So I created a new SVG for the mobile device and used the image size option to select it like so:
This works except the mobile version is even smaller now because I made it very tall and narrow and I have
full_height: true
in my config. So I either get the scrolling I want on my mobile and scrolling I don't want on every other device or vica versa.So the question is how hard would it be to move the full_height option down to the image location indent level so that it can be set per SVG like so:
Beta Was this translation helpful? Give feedback.
All reactions