Hide section title when the section is hidden (#21862)

This commit is contained in:
Paul Bottein 2024-09-03 10:41:15 +02:00 committed by GitHub
parent fa8b3f006d
commit 020904f8f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -334,7 +334,7 @@ export class SectionsView extends LitElement implements LovelaceViewElement {
grid-column: span var(--column-span);
}
.section:not(:has(> *:not([hidden]))) {
.section:has(hui-section[hidden]) {
display: none;
}