mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
✏️ fix(Convo): Rename Title UX (#1793)
This commit is contained in:
parent
c7020e8651
commit
9d3215dcaa
1 changed files with 8 additions and 3 deletions
|
|
@ -112,8 +112,9 @@ export default function Conversation({ conversation, retainView, toggleNav, isLa
|
||||||
};
|
};
|
||||||
|
|
||||||
const aProps = {
|
const aProps = {
|
||||||
className:
|
className: `group relative rounded-lg active:opacity-50 flex cursor-pointer items-center mt-2 gap-3 break-all rounded-lg bg-gray-800 py-2 px-2 ${
|
||||||
'group relative rounded-lg active:opacity-50 flex cursor-pointer items-center mt-2 gap-3 break-all rounded-lg bg-gray-800 py-2 px-2',
|
renaming ? 'pr-14' : ''
|
||||||
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
const activeConvo =
|
const activeConvo =
|
||||||
|
|
@ -150,7 +151,11 @@ export default function Conversation({ conversation, retainView, toggleNav, isLa
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{activeConvo ? (
|
{activeConvo ? (
|
||||||
<div className="absolute bottom-0 right-1 top-0 w-20 bg-gradient-to-l from-gray-800 from-60% to-transparent"></div>
|
<div
|
||||||
|
className={`absolute bottom-0 right-1 top-0 w-20 bg-gradient-to-l ${
|
||||||
|
!renaming ? 'from-gray-800 from-60% to-transparent' : ''
|
||||||
|
}`}
|
||||||
|
></div>
|
||||||
) : (
|
) : (
|
||||||
<div className="from--gray-900 absolute bottom-0 right-0 top-0 w-2 bg-gradient-to-l from-0% to-transparent group-hover:w-1 group-hover:from-60%"></div>
|
<div className="from--gray-900 absolute bottom-0 right-0 top-0 w-2 bg-gradient-to-l from-0% to-transparent group-hover:w-1 group-hover:from-60%"></div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue