mirror of
https://github.com/langgenius/dify.git
synced 2025-11-10 00:11:30 +00:00
fix: add cursor pointer and hover effect to MemberItem; adjust padding in PermissionItem
This commit is contained in:
parent
a008c04331
commit
87dc80f6fa
@ -24,7 +24,7 @@ const MemberItem = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className='flex items-center gap-2 rounded-lg py-1 pl-2 pr-[10px]'
|
className='flex cursor-pointer items-center gap-2 rounded-lg py-1 pl-2 pr-[10px] hover:bg-state-base-hover'
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
>
|
>
|
||||||
{leftIcon}
|
{leftIcon}
|
||||||
|
|||||||
@ -20,7 +20,7 @@ const PermissionItem = ({
|
|||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
>
|
>
|
||||||
{leftIcon}
|
{leftIcon}
|
||||||
<div className='system-md-regular grow text-text-secondary'>
|
<div className='system-md-regular grow px-1 text-text-secondary'>
|
||||||
{text}
|
{text}
|
||||||
</div>
|
</div>
|
||||||
{isSelected && <RiCheckLine className='size-4 text-text-accent' />}
|
{isSelected && <RiCheckLine className='size-4 text-text-accent' />}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user