Working with Lovelace is a real pleasure. One thing that is currently not possible is to have a single card use 100% or the horizontal space. This could be used in conjunction with stack function and a command similar to the glance column-width:
column_width: calc(100% / 7)
This could be used for the whole page with any type of card with this kind of command:
page_width: calc(100% / 1)
This would be particularly useful for displaying images, such as CCTV cameras or maps.
Are you talking about a card going 100% page width, or a column in a card with 100% page width? The former can be done for the first card with panel: true in each view.
I stack my cards into one (vertical/horizontal), then panel: true to span the page width.
FYI, badges will not show with the panel option.
This does work with an overarching vertical stack followed by encapsulated cards, horizontal and vertical stacks. It’s a bit messy and cumbersome setting this up in that way.
Thankfully we can see code changes to Lovelace UI without a restart.
Thanks to @JTPublic for this!
Thanks for figuring this out and posting. I wish there was a way to span more than one column, especially at the bottom rather than top.
Mostly unrelated, but I see you’re using an iframe for windy weather map. Do you have to reload the page to get it to update, or have you figured out some way for it to auto-update?