Hi !
I’d like to use Floorplan as a tab in the HA’s home panel, so I could use multiple tabs for multiple floors. I already have Floorplan working as a custom card, but I’d like the card to be as big as possible.
When I set panel:true in my Lovelace config, the SVG becomes to large and a vertical scroll bar appears. Then I’d like the picture’s height to be maximum and the width set automatically (like when I do a Floorplan custom panel). Is there a way to do this ?
I tried to do some CSS with the card-mod plugin but it was quite unsuccessful…
Yes, but I’m wondering if the image could adapt itself automaticaly to the screen ratio.
For example, if I use HA with a phone, I won’t want these blank spaces…
I can’t find the header height in the code, but it’s a bit lower than 120px (112px on my screen).
But I don’t know if it’s a fixed value. So this work for now but I have to check on other screens.