mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Add dir='auto' to Message and Quote body for RTL languages
This commit is contained in:
@@ -667,6 +667,7 @@ export class Message extends React.Component<Props, State> {
|
||||
|
||||
return (
|
||||
<div
|
||||
dir="auto"
|
||||
className={classNames(
|
||||
'module-message__text',
|
||||
`module-message__text--${direction}`,
|
||||
|
||||
@@ -180,7 +180,7 @@ export class Quote extends React.Component<Props> {
|
||||
|
||||
if (text) {
|
||||
return (
|
||||
<div className="module-quote__primary__text">
|
||||
<div dir="auto" className="module-quote__primary__text">
|
||||
<MessageBody text={text} i18n={i18n} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user