Hi, quick question (I searched but cant find anything). How would I reduce the spacing in this glance card?:
Its for a tablet display and the glance cards use too much space. Thanks!
Hi, quick question (I searched but cant find anything). How would I reduce the spacing in this glance card?:
Its for a tablet display and the glance cards use too much space. Thanks!
I haven’t specifically tried it with a glance card, but modifying the height property using card_mod has worked for me with several cards (but not all cards). You will have to experiment with the number to get it just right. For example:
card_mod:
style: |
ha-card {
height: 100px;
}
Hi @PlayedIn , thanks for your reply, I tried it with height and it didnt seem to make any difference (I put in 1000 in the example just to show it does’t change):
Maybe its not possible with a glance card?
Yes, I just created a glance card, and it didn’t work for me either. It has worked for several cards to remove dead space but not this one. I wonder if you chose to not have a title on the glance card but instead combined it with another card for the title (one that could be manipulated by the height property) in a vertical stack, would that make it more compact. I have had luck with removing the gap between cards in a vertical stack by using negative margins.