Skip to content

Commit

Permalink
Show title for when the title is too long (ztjhz#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranhiru committed Jul 11, 2023
1 parent be3147c commit 2b0280a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/ChatHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 2b0280a

Please sign in to comment.