Compare commits

...
Author SHA1 Message Date
Paul Bottein 9e25c8f887 Hide divider above the first section row of an entities card 2026-10-14 19:36:07 +02:00
2 changed files with 10 additions and 2 deletions

No files matched your search

@@ -310,6 +310,14 @@ class HuiEntitiesCard extends LitElement implements LovelaceCard {
position: relative;
}
#states > div:first-child > hui-section-row::part(divider) {
display: none;
}
#states > div:first-child > hui-section-row::part(label) {
margin-top: 0;
}
.icon {
padding: 0px 18px 0px 8px;
}
@@ -23,11 +23,11 @@ class HuiSectionRow extends LitElement implements LovelaceRow {
}
return html`
<div class="divider"></div>
<div class="divider" part="divider"></div>
${
this._config.label
? html`
<div class="label" .title=${this._config.label}>
<div class="label" part="label" .title=${this._config.label}>
${this._config.label}
</div>
`