mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
fix Arabic punctuation & alignment (#12655)
* fix Arabic punctuation & alignment * fix Arabic punctuation & alignment - 2 * add rtl support for all rtl languages * add auto direction to chat cards * fix alignment: use automatic alignment based on dir attribute * restore package-lock.json Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>
This commit is contained in:
parent
f2bcdd21de
commit
625b4a4ad7
4 changed files with 6 additions and 2 deletions
|
|
@ -34,6 +34,7 @@
|
|||
<div
|
||||
ref="markdownContainer"
|
||||
class="text markdown"
|
||||
dir="auto"
|
||||
v-html="parseMarkdown(msg.text)"
|
||||
></div>
|
||||
<hr>
|
||||
|
|
@ -164,7 +165,7 @@
|
|||
.text {
|
||||
font-size: 14px;
|
||||
color: #4e4a57;
|
||||
text-align: left !important;
|
||||
text-align: initial;
|
||||
min-height: 0rem;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
<textarea
|
||||
ref="user-entry"
|
||||
v-model="newMessage"
|
||||
dir="auto"
|
||||
:placeholder="placeholder"
|
||||
:class="{'user-entry': newMessage}"
|
||||
:maxlength="MAX_MESSAGE_LENGTH"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
</p>
|
||||
<div
|
||||
class="text markdown"
|
||||
dir="auto"
|
||||
v-html="parseMarkdown(msg.text)"
|
||||
></div>
|
||||
<div
|
||||
|
|
@ -118,7 +119,7 @@
|
|||
.text {
|
||||
font-size: 14px;
|
||||
color: $gray-50;
|
||||
text-align: left !important;
|
||||
text-align: initial;
|
||||
min-height: 0rem;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -152,6 +152,7 @@
|
|||
<textarea
|
||||
ref="textarea"
|
||||
v-model="newMessage"
|
||||
dir="auto"
|
||||
class="flex-fill"
|
||||
:placeholder="$t('needsTextPlaceholder')"
|
||||
:maxlength="MAX_MESSAGE_LENGTH"
|
||||
|
|
|
|||
Loading…
Reference in a new issue