mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 05:57:54 +00:00
apply suggestions from code review
This commit is contained in:
parent
372ecc6557
commit
342f22e6a1
@ -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}
|
];
|
||||||
`;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user