Revert "apply suggestions from code review"

This reverts commit 342f22e6a1f2ab85d0a45dd09681d7f17ac75544.
This commit is contained in:
Denis Shulyaka 2020-06-18 17:03:47 +03:00
parent 342f22e6a1
commit f0b0200932

View File

@ -27,36 +27,35 @@ class HaEntityHumidifier extends HaEntityToggle {
`; `;
} }
static get styles(): CSSResult[] { static get styles(): CSSResult {
return [ return css`
super.styles, :host {
css` display: flex;
:host { flex-direction: row;
display: flex; justify-content: center;
flex-direction: row; align-items: center;
justify-content: center; }
align-items: center;
}
.target { .target {
color: var(--primary-text-color); color: var(--primary-text-color);
} }
.current { .current {
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }
.state-label { .state-label {
font-weight: bold; font-weight: bold;
text-transform: capitalize; text-transform: capitalize;
} }
.unit { .unit {
display: inline-block; display: inline-block;
direction: ltr; direction: ltr;
} }
`,
]; ${super.styles}
`;
} }
} }