Show title for when the title is too long (#395)

This commit is contained in:
Jude Cooray 2023-07-11 15:34:46 +10:00 committed by GitHub
parent be3147c6c4
commit 2b0280a479
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ const ChatHistory = React.memo(
onDragStart={handleDragStart}
>
<ChatIcon />
<div className='flex-1 text-ellipsis max-h-5 overflow-hidden break-all relative'>
<div className='flex-1 text-ellipsis max-h-5 overflow-hidden break-all relative' title={title}>
{isEdit ? (
<input
type='text'