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 {
|
||||
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}
|
||||
`;
|
||||
`,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user