Hide drawers if empty.

This commit is contained in:
Dermot Duffy
2022-05-10 19:25:33 -07:00
parent 5bc1d3375c
commit 8ce15f87af
6 changed files with 49 additions and 12 deletions
+6
View File
@@ -27,6 +27,12 @@ div.control-surround {
}
right: 100%;
}
:host([empty]), :host([empty]) > * {
visibility: hidden;
}
:host(:not([empty])), :host(:not([empty])) > * {
visibility: visible;
}
ha-icon.control {
color: var(--secondary-color, white);