Status: fix reblogElement in RTL

quote-replies
Alex Gleason 2022-12-23 16:01:12 -06:00
rodzic 59cf263960
commit 78a9dc519c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -237,7 +237,7 @@ const Status: React.FC<IStatus> = (props) => {
<NavLink <NavLink
to={`/@${status.getIn(['account', 'acct'])}`} to={`/@${status.getIn(['account', 'acct'])}`}
onClick={(event) => event.stopPropagation()} onClick={(event) => event.stopPropagation()}
className='hidden sm:flex items-center text-gray-700 dark:text-gray-600 text-xs font-medium space-x-1 hover:underline' className='hidden sm:flex items-center text-gray-700 dark:text-gray-600 text-xs font-medium space-x-1 rtl:space-x-reverse hover:underline'
> >
<Icon src={require('@tabler/icons/repeat.svg')} className='text-green-600' /> <Icon src={require('@tabler/icons/repeat.svg')} className='text-green-600' />
@ -246,7 +246,7 @@ const Status: React.FC<IStatus> = (props) => {
id='status.reblogged_by' id='status.reblogged_by'
defaultMessage='{name} reposted' defaultMessage='{name} reposted'
values={{ values={{
name: <bdi className='max-w-[100px] truncate pr-1'> name: <bdi className='max-w-[100px] truncate pr-1 rtl:px-1'>
<strong className='text-gray-800 dark:text-gray-200' dangerouslySetInnerHTML={displayNameHtml} /> <strong className='text-gray-800 dark:text-gray-200' dangerouslySetInnerHTML={displayNameHtml} />
</bdi>, </bdi>,
}} }}