mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 20:34:00 +01:00
style: folder icon
This commit is contained in:
parent
51f2385b75
commit
a57dfce108
|
@ -146,7 +146,9 @@ const ChatFolder = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`w-full transition-colors ${isHover ? 'bg-gray-800/40' : ''}`}
|
className={`w-full transition-colors group/folder ${
|
||||||
|
isHover ? 'bg-gray-800/40' : ''
|
||||||
|
}`}
|
||||||
onDrop={handleDrop}
|
onDrop={handleDrop}
|
||||||
onDragOver={handleDragOver}
|
onDragOver={handleDragOver}
|
||||||
onDragLeave={handleDragLeave}
|
onDragLeave={handleDragLeave}
|
||||||
|
@ -215,7 +217,7 @@ const ChatFolder = ({
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<div className='relative'>
|
<div className='relative md:hidden group-hover/folder:md:inline'>
|
||||||
<button
|
<button
|
||||||
className='p-1 hover:text-white'
|
className='p-1 hover:text-white'
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -250,13 +252,13 @@ const ChatFolder = ({
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
className='p-1 hover:text-white'
|
className='p-1 hover:text-white md:hidden group-hover/folder:md:inline'
|
||||||
onClick={() => setIsEdit(true)}
|
onClick={() => setIsEdit(true)}
|
||||||
>
|
>
|
||||||
<EditIcon />
|
<EditIcon />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className='p-1 hover:text-white'
|
className='p-1 hover:text-white md:hidden group-hover/folder:md:inline'
|
||||||
onClick={() => setIsDelete(true)}
|
onClick={() => setIsDelete(true)}
|
||||||
>
|
>
|
||||||
<DeleteIcon />
|
<DeleteIcon />
|
||||||
|
|
Loading…
Reference in a new issue