From 26e678a97d848b3cccb494bff7f2dedce14b6239 Mon Sep 17 00:00:00 2001 From: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Date: Thu, 9 Jul 2020 15:00:01 +0300 Subject: [PATCH] mwc-fab fix where missing (#6352) --- src/panels/config/areas/ha-config-areas-dashboard.ts | 9 +++++---- src/panels/config/helpers/ha-config-helpers.ts | 11 +++++++++++ .../config/integrations/ha-config-integrations.ts | 2 +- .../resources/ha-config-lovelace-resources.ts | 11 +++++++++++ src/panels/config/person/ha-config-person.ts | 11 +++++++++++ 5 files changed, 39 insertions(+), 5 deletions(-) diff --git a/src/panels/config/areas/ha-config-areas-dashboard.ts b/src/panels/config/areas/ha-config-areas-dashboard.ts index 240c211fdb..2e0e56e9f2 100644 --- a/src/panels/config/areas/ha-config-areas-dashboard.ts +++ b/src/panels/config/areas/ha-config-areas-dashboard.ts @@ -38,6 +38,7 @@ import { showAreaRegistryDetailDialog, } from "./show-dialog-area-registry-detail"; import { mdiPlus } from "@mdi/js"; +import { computeRTL } from "../../../common/util/compute_rtl"; @customElement("ha-config-areas-dashboard") export class HaConfigAreasDashboard extends LitElement { @@ -126,6 +127,7 @@ export class HaConfigAreasDashboard extends LitElement { @@ -253,6 +255,15 @@ class HaConfigPerson extends LitElement { bottom: 24px; right: 24px; } + mwc-fab[rtl] { + right: auto; + left: 16px; + } + mwc-fab[is-wide][rtl] { + bottom: 24px; + left: 24px; + right: auto; + } `; } }