#Stack-in Cards

1 messages · Page 1 of 1 (latest)

rain marten
#

Hello Guys,
i have a "vertical-stack" Card and overlay it with card_mod with margin-top: xxx px, the problem is now, that i have on the bottom always for each card i stack in, a little padding is that normal and is it possible to remove this?

You see it on the border lines in the screenshot

quasi karma
#

Can you share your code to show how you have it set up?
Are you using the stock vertical-stack card. If so, you may not be able to card-mod it because the vertical-stack card does not have an ha-card element the card-mod can modify. (You might* be able to use a card-mod-card, but that is not recommended by the Developer.)

#

Have you looked at the stack-in-card?

It allows to group multiple cards into one card without the borders. By default, it will stack everything vertically.
Just make sure you add this card as a custom repository and not install the default one found in HACS.
In this screenshot, there are six button cards (along with two horizontal stack cards each holding 3 of the button cards.)

rain marten
#

A okay thank you @quasi karma good to know.
Is your stack-in-card a better one from original from romrider?