mirror of
https://github.com/langgenius/dify.git
synced 2025-11-02 03:43:12 +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 (
|
||||
<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}
|
||||
>
|
||||
{leftIcon}
|
||||
|
||||
@ -20,7 +20,7 @@ const PermissionItem = ({
|
||||
onClick={onClick}
|
||||
>
|
||||
{leftIcon}
|
||||
<div className='system-md-regular grow text-text-secondary'>
|
||||
<div className='system-md-regular grow px-1 text-text-secondary'>
|
||||
{text}
|
||||
</div>
|
||||
{isSelected && <RiCheckLine className='size-4 text-text-accent' />}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user