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}
|
||||
/>
|
||||
) : null}
|
||||
<div className="module-message__link-preview__content">
|
||||
<div dir="auto" className="module-message__link-preview__content">
|
||||
{first.image &&
|
||||
first.domain &&
|
||||
previewHasImage &&
|
||||
|
@ -1219,7 +1219,6 @@ export class Message extends React.PureComponent<Props, State> {
|
|||
</div>
|
||||
) : null}
|
||||
<div
|
||||
dir="auto"
|
||||
className={classNames(
|
||||
'module-message__link-preview__text',
|
||||
previewHasImage && !isFullSizeImage
|
||||
|
|
|
@ -73,6 +73,7 @@ export function StagedLinkPreview({
|
|||
|
||||
return (
|
||||
<div
|
||||
dir="auto"
|
||||
className={classNames(
|
||||
getClassName(''),
|
||||
!isLoaded ? getClassName('--is-loading') : null
|
||||
|
|
Loading…
Reference in a new issue