AccountSearch: fix icon position in RTL

Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1557
This commit is contained in:
Alex Gleason 2023-10-11 13:15:58 -05:00
parent 923d0fea20
commit 5796ecaad0
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -72,7 +72,7 @@ const AccountSearch: React.FC<IAccountSearch> = ({ onSelected, ...rest }) => {
<div
role='button'
tabIndex={0}
className='absolute inset-y-0 right-0 flex cursor-pointer items-center px-3'
className='absolute inset-y-0 flex cursor-pointer items-center px-3 ltr:right-0 rtl:left-0'
onClick={handleClear}
>
<SvgIcon