Wrap full link preview content in dir=auto
This commit is contained in:
parent
33d80f1274
commit
2e25967756
2 changed files with 2 additions and 2 deletions
|
@ -1189,7 +1189,7 @@ export class Message extends React.PureComponent<Props, State> {
|
||||||
onClick={onPreviewImageClick}
|
onClick={onPreviewImageClick}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
<div className="module-message__link-preview__content">
|
<div dir="auto" className="module-message__link-preview__content">
|
||||||
{first.image &&
|
{first.image &&
|
||||||
first.domain &&
|
first.domain &&
|
||||||
previewHasImage &&
|
previewHasImage &&
|
||||||
|
@ -1219,7 +1219,6 @@ export class Message extends React.PureComponent<Props, State> {
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
<div
|
<div
|
||||||
dir="auto"
|
|
||||||
className={classNames(
|
className={classNames(
|
||||||
'module-message__link-preview__text',
|
'module-message__link-preview__text',
|
||||||
previewHasImage && !isFullSizeImage
|
previewHasImage && !isFullSizeImage
|
||||||
|
|
|
@ -73,6 +73,7 @@ export function StagedLinkPreview({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
dir="auto"
|
||||||
className={classNames(
|
className={classNames(
|
||||||
getClassName(''),
|
getClassName(''),
|
||||||
!isLoaded ? getClassName('--is-loading') : null
|
!isLoaded ? getClassName('--is-loading') : null
|
||||||
|
|
Loading…
Reference in a new issue