I’m using the custom-button card ( GitHub - custom-cards/button-card: Lovelace button-card for home assistant) for my frontend. Works like a charm.
BUT, I cannot make it fit in the new sections - it seems like it does not automatically scale to the sections. Also happens on resizing screen.
Simple questions:
Am I “holding it wrong” or doesn’t the custom card support the new Sections type of layout?
Is there another way to create these kind of buttons which will work better with Sections?
Example:
Notice the “Enable active cooling card”; it is too wide. I know I can set the width to X pixels, but then it’s not scalable if I resize or view it on my mobile app…
Same problem here, I’m using custom button-card in sections, take a look at the following example, the first is the original size, the second and third I changed with
If I do it for all 3 - still the rendered size stays the same, the sections layout will not adapt and I have huge empty spaces in there - don’t know what to change!
Sections may contain several cards. Each card is located in a “cell”. For each card you may define a size of a “cell” (rows, columns).
Whether a card occupies a whole cell or leaves an empty space - depends on a card. Some custom cards may not have smth like “height: 100%” which makes them to occupy just a part of a vertical size. Can be fixed by card-mod.
What I want to achieve is for the card to fill out the “cell” and also be responsive in terms of scalability when the layout changes.
You say, I can do this with a “card-mod” - how to do so?