I am new to Home Assistant and trying to customize the styling of my frontend.
I will use Home Assistant mostly to control my home via smart phone. Therefore I want to optimize the look and feel for it.
I want to add a small little margin but I don’t know how. Something like this:
I have already used the Chrome dev tools to figure out that my ha-card needs something like “margin: 0 5px” to get what I want but I don’t know how / where to define it.
I tried using card-mod or extending my theme by ‘ha-card-margin: ‘0px 5px’’ but nothing helped.
Some custom cards don’t accept card-mod. You should talk with the banner-card dev. also take a look at the card mod notes. There could be a solution, check this section out.