diff --git a/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts b/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts index 4ad20ab..f89afd8 100644 --- a/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts +++ b/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts @@ -80,6 +80,7 @@ export default class GenericWideInputPrompt extends Modal { const textComponent = new TextAreaComponent(container); textComponent.inputEl.classList.add("wideInputPromptInputEl"); + textComponent.inputEl.setAttribute("dir", "auto"); textComponent .setPlaceholder(placeholder ?? "") .setValue(value ?? "") diff --git a/src/styles.css b/src/styles.css index 95398ce..7889ea6 100644 --- a/src/styles.css +++ b/src/styles.css @@ -46,6 +46,8 @@ width: 20rem; max-width: 100%; height: 3rem; + direction: inherit; + text-align: inherit; } } @@ -67,6 +69,8 @@ width: 30rem; max-width: 100%; height: 20rem; + direction: inherit; + text-align: inherit; } } @@ -88,6 +92,8 @@ width: 40rem; max-width: 100%; height: 20rem; + direction: inherit; + text-align: inherit; } }