Is it possible to adjust .container style in Sections layout? I need to change the “display” value from grid to flex so it stops squashing my fixed-size button-cards.
It is located in “hui-section hui-grid-section ha-sortable div.container”
1 Like
I have a similar problem. I want to change padding or marigin in the .container. Hopefully someone has a solution for this
Update: this might lead you in the right direction?
Great hint @oyvhov!
In case someone is looking for the solution:
In your themes file:
MyTheme:
card-mod-theme: MyTheme
card-mod-view-yaml: |
hui-sections-view:
$:
ha-sortable:
div:
div.section:
hui-section:
hui-grid-section:
$:
ha-sortable: |
div.container {
display: flex;
}
