From b657139524326ff2e17c0cbc0f3123c4be8e8eef Mon Sep 17 00:00:00 2001 From: "Jonathan (JB) Belcher" Date: Thu, 10 Sep 2020 12:50:06 -0400 Subject: [PATCH 1/2] Right align rtl languages --- scss/theme.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scss/theme.scss b/scss/theme.scss index 208f0112f..9abfe48bc 100644 --- a/scss/theme.scss +++ b/scss/theme.scss @@ -88,6 +88,10 @@ display: none !important; } +span[dir='ltr'] { + float: right; +} + /* Safari requires that it be displayed absolute so that it takes the full height */ .note-content-editor-shell { From 576dc3ad7463f80cb448bc5ad31bd008c4bd4468 Mon Sep 17 00:00:00 2001 From: "Jonathan (JB) Belcher" Date: Thu, 10 Sep 2020 15:00:51 -0400 Subject: [PATCH 2/2] Added comment to explain --- scss/theme.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scss/theme.scss b/scss/theme.scss index 9abfe48bc..f9d23b6de 100644 --- a/scss/theme.scss +++ b/scss/theme.scss @@ -88,6 +88,9 @@ display: none !important; } +/* Monaco adds the dir='ltr' attribute to rtl languages. + This does the opposite of what you think it should do. +*/ span[dir='ltr'] { float: right; }