mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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-start: initial;
|
||||
direction: var(--direction);
|
||||
transform: scaleX(var(--scale-direction));
|
||||
}
|
||||
|
||||
.listening-icon[active] {
|
||||
|
@ -250,7 +250,7 @@ export class HaConfigLogs extends LitElement {
|
||||
--mdc-theme-primary: var(--primary-text-color);
|
||||
--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-start: 8px;
|
||||
}
|
||||
|
@ -6,14 +6,13 @@ import {
|
||||
html,
|
||||
nothing,
|
||||
} from "lit";
|
||||
import { mdiChevronRight } from "@mdi/js";
|
||||
import { customElement, property, state } from "lit/decorators";
|
||||
import { classMap } from "lit/directives/class-map";
|
||||
import { isComponentLoaded } from "../../../common/config/is_component_loaded";
|
||||
import "../../../components/chart/state-history-charts";
|
||||
import "../../../components/ha-alert";
|
||||
import "../../../components/ha-card";
|
||||
import "../../../components/ha-icon-button";
|
||||
import "../../../components/ha-icon-next";
|
||||
import {
|
||||
HistoryResult,
|
||||
computeHistory,
|
||||
@ -209,9 +208,7 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
||||
? html`
|
||||
<h1 class="card-header">
|
||||
${this._config.title}
|
||||
<a href=${configUrl}
|
||||
><ha-icon-button .path=${mdiChevronRight}></ha-icon-button
|
||||
></a>
|
||||
<a href=${configUrl}><ha-icon-next></ha-icon-next></a>
|
||||
</h1>
|
||||
`
|
||||
: nothing}
|
||||
@ -258,7 +255,7 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
}
|
||||
.card-header ha-icon-button {
|
||||
.card-header ha-icon-next {
|
||||
--mdc-icon-button-size: 24px;
|
||||
line-height: 24px;
|
||||
color: var(--primary-text-color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user