Skip to content

Commit 8ab09c0

Browse files
authored
fix: conversation title truncation (danny-avila#1237)
1 parent f61c718 commit 8ab09c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/components/Conversations/Convo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ export default function Conversation({ conversation, retainView, toggleNav, i })
114114
}
115115

116116
return (
117-
<a data-testid="convo-item" onClick={() => clickHandler()} {...aProps}>
117+
<a data-testid="convo-item" onClick={() => clickHandler()} {...aProps} title={title}>
118118
{icon}
119-
<div className="relative max-h-5 flex-1 overflow-hidden text-ellipsis break-all">
119+
<div className="relative line-clamp-1 max-h-5 flex-1 text-ellipsis break-all">
120120
{renaming === true ? (
121121
<input
122122
ref={inputRef}

0 commit comments

Comments
 (0)