mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02:00
Merge pull request #128 from alefvanoon/patch-1
Add dir="auto" to fix rtl lang problem
This commit is contained in:
commit
6ec7b3960c
@ -135,7 +135,7 @@
|
|||||||
<label for="textarea1" class="sr-only">
|
<label for="textarea1" class="sr-only">
|
||||||
Text to translate
|
Text to translate
|
||||||
</label>
|
</label>
|
||||||
<textarea id="textarea1" v-model="inputText" @input="handleInput" ref="inputTextarea"></textarea>
|
<textarea id="textarea1" v-model="inputText" @input="handleInput" ref="inputTextarea" dir="auto"></textarea>
|
||||||
<button class="btn-delete-text" title="Delete text" @click="deleteText">
|
<button class="btn-delete-text" title="Delete text" @click="deleteText">
|
||||||
<i class="material-icons">close</i>
|
<i class="material-icons">close</i>
|
||||||
</button>
|
</button>
|
||||||
@ -148,7 +148,7 @@
|
|||||||
<label for="textarea2" class="sr-only">
|
<label for="textarea2" class="sr-only">
|
||||||
Translated text
|
Translated text
|
||||||
</label>
|
</label>
|
||||||
<textarea id="textarea2" v-model="translatedText" ref="translatedTextarea" readonly></textarea>
|
<textarea id="textarea2" v-model="translatedText" ref="translatedTextarea" dir="auto" readonly></textarea>
|
||||||
<button class="btn-copy-translated" @click="copyText">
|
<button class="btn-copy-translated" @click="copyText">
|
||||||
<span>[[ copyTextLabel ]]</span> <i class="material-icons">content_copy</i>
|
<span>[[ copyTextLabel ]]</span> <i class="material-icons">content_copy</i>
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user