mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
RTL fixes sep 24 (#21893)
* Fix logs drop down * Fix history arrow * Icon direction fix
This commit is contained in:
parent
ed141b1d12
commit
1a0ca1b78f
@ -650,6 +650,7 @@ export class HaVoiceCommandDialog extends LitElement {
|
|||||||
margin-inline-end: -24px;
|
margin-inline-end: -24px;
|
||||||
margin-inline-start: initial;
|
margin-inline-start: initial;
|
||||||
direction: var(--direction);
|
direction: var(--direction);
|
||||||
|
transform: scaleX(var(--scale-direction));
|
||||||
}
|
}
|
||||||
|
|
||||||
.listening-icon[active] {
|
.listening-icon[active] {
|
||||||
|
@ -250,7 +250,7 @@ export class HaConfigLogs extends LitElement {
|
|||||||
--mdc-theme-primary: var(--primary-text-color);
|
--mdc-theme-primary: var(--primary-text-color);
|
||||||
--mdc-icon-size: 36px;
|
--mdc-icon-size: 36px;
|
||||||
}
|
}
|
||||||
ha-button-menu > mwc-button > ha-svg-icon {
|
ha-button-menu > ha-button > ha-svg-icon {
|
||||||
margin-inline-end: 0px;
|
margin-inline-end: 0px;
|
||||||
margin-inline-start: 8px;
|
margin-inline-start: 8px;
|
||||||
}
|
}
|
||||||
|
@ -6,14 +6,13 @@ import {
|
|||||||
html,
|
html,
|
||||||
nothing,
|
nothing,
|
||||||
} from "lit";
|
} from "lit";
|
||||||
import { mdiChevronRight } from "@mdi/js";
|
|
||||||
import { customElement, property, state } from "lit/decorators";
|
import { customElement, property, state } from "lit/decorators";
|
||||||
import { classMap } from "lit/directives/class-map";
|
import { classMap } from "lit/directives/class-map";
|
||||||
import { isComponentLoaded } from "../../../common/config/is_component_loaded";
|
import { isComponentLoaded } from "../../../common/config/is_component_loaded";
|
||||||
import "../../../components/chart/state-history-charts";
|
import "../../../components/chart/state-history-charts";
|
||||||
import "../../../components/ha-alert";
|
import "../../../components/ha-alert";
|
||||||
import "../../../components/ha-card";
|
import "../../../components/ha-card";
|
||||||
import "../../../components/ha-icon-button";
|
import "../../../components/ha-icon-next";
|
||||||
import {
|
import {
|
||||||
HistoryResult,
|
HistoryResult,
|
||||||
computeHistory,
|
computeHistory,
|
||||||
@ -209,9 +208,7 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
|||||||
? html`
|
? html`
|
||||||
<h1 class="card-header">
|
<h1 class="card-header">
|
||||||
${this._config.title}
|
${this._config.title}
|
||||||
<a href=${configUrl}
|
<a href=${configUrl}><ha-icon-next></ha-icon-next></a>
|
||||||
><ha-icon-button .path=${mdiChevronRight}></ha-icon-button
|
|
||||||
></a>
|
|
||||||
</h1>
|
</h1>
|
||||||
`
|
`
|
||||||
: nothing}
|
: nothing}
|
||||||
@ -258,7 +255,7 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.card-header ha-icon-button {
|
.card-header ha-icon-next {
|
||||||
--mdc-icon-button-size: 24px;
|
--mdc-icon-button-size: 24px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
color: var(--primary-text-color);
|
color: var(--primary-text-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user