I’ve found that the padding lies in this path /html/body/home-assistant//home-assistant-main//ha-drawer/partial-panel-resolver/ha-panel-lovelace//hui-root//div/div[2]/hui-view/hui-sections-view//ha-sortable/div/div[1]/hui-section/hui-grid-section//ha-sortable/div/div[2]/hui-card/hui-tile-card//ha-card/div[2]/hui-card-features//div but dont know how to modify it.
:host > --feature-padding is another variable I find that changes what I’m looking for. If I set that to 0 I get what I want. But how do I get that result using card mod?
padding top must be there as you are hinding the top of the card and the is no spacing.
You will have to adjust drop down list width, at least this is in my case with short ON/OFF etc.
hope it helps
Thanks but it does not really remove that padding though, if you set the background-color to red you’ll see that it stills is there not allowing the drop down to use the full width of the card
EDIT: It seems to get its properties from “feature-padding” but I cant touch it with ha-card .content, not even with :host
Hello,
Sorry, too far for my small knowledge.
Not sure how to remove it but you can work with margin and negative number px on card to reduce spacing and put background to none.
This will not remove background but will reduce spacing.