Add dir='auto' to Message and Quote body for RTL languages
This commit is contained in:
parent
aa4339a69f
commit
8b92e6112c
2 changed files with 2 additions and 1 deletions
|
@ -667,6 +667,7 @@ export class Message extends React.Component<Props, State> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
dir="auto"
|
||||||
className={classNames(
|
className={classNames(
|
||||||
'module-message__text',
|
'module-message__text',
|
||||||
`module-message__text--${direction}`,
|
`module-message__text--${direction}`,
|
||||||
|
|
|
@ -180,7 +180,7 @@ export class Quote extends React.Component<Props> {
|
||||||
|
|
||||||
if (text) {
|
if (text) {
|
||||||
return (
|
return (
|
||||||
<div className="module-quote__primary__text">
|
<div dir="auto" className="module-quote__primary__text">
|
||||||
<MessageBody text={text} i18n={i18n} />
|
<MessageBody text={text} i18n={i18n} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue