Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

How to add margin to ha-card?

$
0
0

@sla89 wrote:

Hey together,

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.

Any help is appreaciated.

Thank you very much,
Stefan

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>