[Glitch] Fix right-to-left text in preview cards
Port 8f5694d79e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main
parent
11dd51ef44
commit
aca1decf54
|
@ -130,7 +130,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 New Issue