improve RTL mode (#625)

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala
2024-11-21 20:44:27 +05:30
committed by GitHub
parent 5870c447d5
commit 5cd9885185
9 changed files with 26 additions and 17 deletions

View File

@@ -2,6 +2,7 @@
<div
v-if="form"
class="open-complete-form"
:dir="form?.layout_rtl ? 'rtl' : 'ltr'"
:style="{ '--font-family': form.font_family, 'direction': form?.layout_rtl ? 'rtl' : 'ltr' }"
>
<link

View File

@@ -119,7 +119,7 @@
:form="form"
class="mt-4"
label="Right-to-Left Layout"
help="Adjusts form layout for right-to-left languages."
help="Adjusts layout for RTL languages"
/>
<EditorSectionHeader