From a13e2af17ab70161d0fa20e2a0c1fe8b82b51126 Mon Sep 17 00:00:00 2001 From: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Date: Tue, 14 Feb 2023 14:02:45 +0200 Subject: [PATCH] Various RTL fixes (#15446) --- gallery/src/pages/components/ha-alert.markdown | 12 ------------ src/components/ha-alert.ts | 18 ++++-------------- src/components/ha-textarea.ts | 10 ++++++++++ .../config/automation/ha-automation-trace.ts | 9 +++++++-- 4 files changed, 21 insertions(+), 28 deletions(-) diff --git a/gallery/src/pages/components/ha-alert.markdown b/gallery/src/pages/components/ha-alert.markdown index e5f5e5c059..89f2aa39d8 100644 --- a/gallery/src/pages/components/ha-alert.markdown +++ b/gallery/src/pages/components/ha-alert.markdown @@ -156,18 +156,6 @@ The `title ` option should not be used without a description. *Documentation coming soon* -**Right to left** - - - This is an info alert — check it out! - - -```html - - This is an info alert — check it out! - -``` - ### API **Properties/Attributes** diff --git a/src/components/ha-alert.ts b/src/components/ha-alert.ts index d49c9959ac..772d2db0d6 100644 --- a/src/components/ha-alert.ts +++ b/src/components/ha-alert.ts @@ -37,13 +37,10 @@ class HaAlert extends LitElement { @property({ type: Boolean }) public dismissable = false; - @property({ type: Boolean }) public rtl = false; - public render() { return html`