ā¦ so sorry bout that. I guess figured the embedding config-template-card needed the conditionā¦ can conform it works as expected with show_empty: false
.
And yes, thereās a tiny gap when empty. we had that before with core conditional cards too remember? maybe thereās still some code to improve here too.
btw, (0ff topic here, but also peculiarity with endingsā¦) I did post the issue of clipping of last Childs in fold-entity-row, fixed that by downgrading for now ā¦ just so you know
btw, how do we mod the title of the grid card??
card_mod:
style: |
.card-header {
background-color: var(--background-color-off);
color: var(--text-color-off);
padding-top: 0px;
padding-bottom: 0px;
margin: 0px 0px 16px 0px;
}
wont stick, and the element sure is card-header
I also did try
type: custom:mod-card
card_mod:
style: |
.card-header {
background-color: var(--background-color-off);
color: var(--text-color-off);
padding-top: 0px;
padding-bottom: 0px;
margin: 0px 0px 16px 0px;
}
card:
type: custom:auto-entities
card:
type: grid
and dont get You did it wrong!
in inspector, but still no header change.
moving that to:
card:
type: custom:mod-card
style:
hui-grid-card:
$: |
.card-header {
background-color: var(--background-color-off);
color: var(--text-color-off);
padding-top: 0px;
padding-bottom: 0px;
margin: 0px 0px 16px 0px;
}
does seem to touch the actual grid card header, but it doesnt do what it is supposed to doā¦
so, a bit of an oddity, this grid card modding
this is what that header mod should do (and does system wide):
ok, so it kicked in after all, but didnt see some of the settings I use in my custom-card-mod-theme. this works now:
card:
type: custom:mod-card
style:
hui-grid-card:
$: |
.card-header {
background-color: var(--background-color-off);
color: var(--text-color-off);
font-weight: 300; /* in card-mod-theme but not recognized here */
letter-spacing: 0px; /* in card-mod-theme but not recognized here */
padding-top: 8px;
padding-bottom: 8px;
margin: 0px 0px 8px 0px;
}