Wrap full link preview content in dir=auto
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user