[Glitch] Fix right-to-left text in preview cards

Port 8f5694d79e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main
Claire 2024-07-05 15:40:53 +02:00
parent 11dd51ef44
commit aca1decf54
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ export default class Card extends PureComponent {
const showAuthor = !!card.getIn(['authors', 0, 'accountId']);
const description = (
<div className='status-card__content'>
<div className='status-card__content' dir='auto'>
<span className='status-card__host'>
<span lang={language}>{provider}</span>
{card.get('published_at') && <> · <RelativeTimestamp timestamp={card.get('published_at')} /></>}