custom-cards / button-card

❇️ Lovelace button-card for home assistant
MIT License
1.83k stars 227 forks source link

Ability to match style of default lovelace button #829

Open shalak opened 4 months ago

shalak commented 4 months ago

Is your feature request related to a problem? Please describe. The default buttons, when rendered as squares use different padding than button-card with aspect_ratio: 1/1:

image

Without rendering as squared, and without setting aspect_ratio we get this:

image

("Novigrad" is button-card, the rest are vanilla button cards )

Describe the solution you'd like Make it easily possible, to match the padding of icon and name of the vanilla button card for squares, as well height when they are not squares.

Describe alternatives you've considered I tried using ADVANCED styling options, but with no luck