Put automation/script editor actions in a menu (#7250)

* Put automation/script editor actions in a menu

* Use disabled property instead of attribute
This commit is contained in:
Thomas Lovén
2020-10-08 16:37:01 +02:00
committed by GitHub
parent 0f0a3fdaf7
commit c7f4986e61
3 changed files with 103 additions and 38 deletions

View File

@@ -62,6 +62,9 @@ export class HaButtonMenu extends LitElement {
display: inline-block;
position: relative;
}
::slotted([disabled]) {
color: var(--disabled-text-color);
}
`;
}
}