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