mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Remove CSS component from time entity row (#16416)
This commit is contained in:
parent
643556ded3
commit
59db31cdb5
@ -1,12 +1,4 @@
|
||||
import {
|
||||
css,
|
||||
CSSResultGroup,
|
||||
html,
|
||||
LitElement,
|
||||
nothing,
|
||||
PropertyValues,
|
||||
TemplateResult,
|
||||
} from "lit";
|
||||
import { html, LitElement, nothing, PropertyValues, TemplateResult } from "lit";
|
||||
import { customElement, property, state } from "lit/decorators";
|
||||
import "../../../components/ha-date-input";
|
||||
import { isUnavailableState } from "../../../data/entity";
|
||||
@ -75,17 +67,6 @@ class HuiTimeEntityRow extends LitElement implements LovelaceRow {
|
||||
const stateObj = this.hass!.states[this._config!.entity];
|
||||
setTimeValue(this.hass!, stateObj.entity_id, ev.detail.value);
|
||||
}
|
||||
|
||||
static get styles(): CSSResultGroup {
|
||||
return css`
|
||||
ha-date-input + ha-time-input {
|
||||
margin-left: 4px;
|
||||
margin-inline-start: 4px;
|
||||
margin-inline-end: initial;
|
||||
direction: var(--direction);
|
||||
}
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
Loading…
x
Reference in New Issue
Block a user