projects
/
cinny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120e8de
)
Support RTL text in messages (#717)
author
Ajay Bura
<ajbura@gmail.com>
Sat, 6 Aug 2022 07:10:24 +0000
(12:40 +0530)
committer
Ajay Bura
<ajbura@gmail.com>
Sat, 6 Aug 2022 07:10:24 +0000
(12:40 +0530)
src/app/molecules/message/Message.jsx
patch
|
blob
|
history
diff --git
a/src/app/molecules/message/Message.jsx
b/src/app/molecules/message/Message.jsx
index 2f32bafa6d69a1f507777ef2d617c94560ffa340..6e3def431fa3f089e49d04e96ac85304e74c4290 100644
(file)
--- a/
src/app/molecules/message/Message.jsx
+++ b/
src/app/molecules/message/Message.jsx
@@
-246,7
+246,7
@@
const MessageBody = React.memo(({
return (
<div className="message__body">
- <div className={`text ${emojiOnly ? 'text-h1' : 'text-b1'}`}>
+ <div
dir="auto"
className={`text ${emojiOnly ? 'text-h1' : 'text-b1'}`}>
{ msgType === 'm.emote' && (
<>
{'* '}