berrywhite96 / lovelace-shutter-row

Home Assistant Lovelace Shutter Row Card
MIT License
19 stars 4 forks source link

Extra padding #9

Closed papadi closed 1 year ago

papadi commented 1 year ago

Any idea why there's extra padding for this card specifically? image

berrywhite96 commented 1 year ago

This isn't an extra padding, it's the normal padding from the card. As far as I know it's not possible to make a custom card which is compatible to be standalone and also to be a part of an entities card.

If you know a card which does this without using a vanilla card just let me know.

SanderM2 commented 1 year ago

Using card_mod and a style like this you can make it smaller:

    style: |
      div.card-row { height: 25px }
      ha-card { box-shadow: none; padding: 10px; }
berrywhite96 commented 1 year ago

Same as #7 .