From 688109524d0739d304d418b97f50318d1c3c0f68 Mon Sep 17 00:00:00 2001 From: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Date: Wed, 20 Jul 2022 12:14:50 +0300 Subject: [PATCH] RTL fixes - media, attributes (#13241) --- src/panels/lovelace/cards/hui-media-control-card.ts | 3 --- src/panels/lovelace/entity-rows/hui-media-player-entity-row.ts | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/panels/lovelace/cards/hui-media-control-card.ts b/src/panels/lovelace/cards/hui-media-control-card.ts index 087338f1d2..481daffa73 100644 --- a/src/panels/lovelace/cards/hui-media-control-card.ts +++ b/src/panels/lovelace/cards/hui-media-control-card.ts @@ -699,9 +699,6 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard { ha-icon-button.browse-media { position: absolute; right: 4px; - inset-inline-start: initial; - inset-inline-end: 4px; - direction: var(--direction); --mdc-icon-size: 24px; } diff --git a/src/panels/lovelace/entity-rows/hui-media-player-entity-row.ts b/src/panels/lovelace/entity-rows/hui-media-player-entity-row.ts index f9e40bea12..f34a0557dc 100644 --- a/src/panels/lovelace/entity-rows/hui-media-player-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-media-player-entity-row.ts @@ -415,6 +415,7 @@ class HuiMediaPlayerEntityRow extends LitElement implements LovelaceRow { } .controls { white-space: nowrap; + direction: ltr; } ha-slider { flex-grow: 2;