nicolium: likely a fix for rtl
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -136,7 +136,7 @@ const DropdownMenuItem = ({ index, item, onClick, autoFocus, onSetTab }: IDropdo
|
||||
target={typeof item.target === 'string' ? item.target : '_blank'}
|
||||
title={item.text}
|
||||
className={clsx(
|
||||
'mx-2 my-1 flex cursor-pointer items-center rounded-md px-2 py-1.5 text-sm text-gray-700 dark:text-gray-300',
|
||||
'mx-2 my-1 flex cursor-pointer items-center rounded-md px-2 py-1.5 text-sm text-gray-700 dark:text-gray-300 rtl:flex-col-reverse',
|
||||
{
|
||||
'text-danger-600 dark:text-danger-400': item.destructive,
|
||||
'cursor-not-allowed opacity-50': item.disabled,
|
||||
@ -185,7 +185,7 @@ const DropdownMenuItem = ({ index, item, onClick, autoFocus, onSetTab }: IDropdo
|
||||
{!!item.items?.length && (
|
||||
<Icon
|
||||
src={require('@phosphor-icons/core/regular/caret-right.svg')}
|
||||
containerClassName='ml-auto'
|
||||
containerClassName='ml-auto rtl:ml-0 rtl:mr-auto'
|
||||
className='size-5 flex-none'
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user