mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix some RTL aligments (#16252)
This commit is contained in:
parent
ea0f29782d
commit
a43f49f4af
@ -211,6 +211,7 @@ export class Gauge extends LitElement {
|
||||
font-size: 50px;
|
||||
fill: var(--primary-text-color);
|
||||
text-anchor: middle;
|
||||
direction: ltr;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
@ -569,6 +569,7 @@ class MoreInfoViewLightColorPicker extends LitElement {
|
||||
line-height: 24px;
|
||||
letter-spacing: 0.1px;
|
||||
margin: 0;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.color-temp {
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { css, CSSResultGroup } from "lit";
|
||||
import { HassEntity } from "home-assistant-js-websocket/dist/types";
|
||||
import { customElement } from "lit/decorators";
|
||||
import { computeDomain } from "../../../common/entity/compute_domain";
|
||||
@ -70,6 +71,18 @@ class HuiSensorCard extends HuiEntityCard {
|
||||
|
||||
super.setConfig(entityCardConfig);
|
||||
}
|
||||
|
||||
static get styles(): CSSResultGroup {
|
||||
return [
|
||||
HuiEntityCard.styles,
|
||||
css`
|
||||
.info {
|
||||
direction: ltr;
|
||||
text-align: var(--float-start);
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
Loading…
x
Reference in New Issue
Block a user