apply suggestions from code review

This commit is contained in:
Denis Shulyaka 2020-06-18 16:50:49 +03:00
parent 372ecc6557
commit 342f22e6a1

View File

@ -27,8 +27,10 @@ class HaEntityHumidifier extends HaEntityToggle {
`;
}
static get styles(): CSSResult {
return css`
static get styles(): CSSResult[] {
return [
super.styles,
css`
:host {
display: flex;
flex-direction: row;
@ -53,9 +55,8 @@ class HaEntityHumidifier extends HaEntityToggle {
display: inline-block;
direction: ltr;
}
${super.styles}
`;
`,
];
}
}