mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-20 08:19:04 +00:00
Fix right-to-left text in preview cards (#30930)
This commit is contained in:
parent
97eddb5906
commit
8f5694d79e
|
@ -141,7 +141,7 @@ export default class Card extends PureComponent {
|
||||||
const showAuthor = !!card.getIn(['authors', 0, 'accountId']);
|
const showAuthor = !!card.getIn(['authors', 0, 'accountId']);
|
||||||
|
|
||||||
const description = (
|
const description = (
|
||||||
<div className='status-card__content'>
|
<div className='status-card__content' dir='auto'>
|
||||||
<span className='status-card__host'>
|
<span className='status-card__host'>
|
||||||
<span lang={language}>{provider}</span>
|
<span lang={language}>{provider}</span>
|
||||||
{card.get('published_at') && <> · <RelativeTimestamp timestamp={card.get('published_at')} /></>}
|
{card.get('published_at') && <> · <RelativeTimestamp timestamp={card.get('published_at')} /></>}
|
||||||
|
|
Loading…
Reference in a new issue