Skip to content

Commit f9d7d54

Browse files
fix(ThreadListItem): add text overflow for long user names (#306)
### 🎨 UI Changes Before: ![localhost_3000_chat_docs_sdk_react_v11-legacy_](https://github.com/user-attachments/assets/67eb723e-6713-4bb7-a937-cb9c1e994cf3) After: ![localhost_3000_chat_docs_sdk_react_v11-legacy_ (1)](https://github.com/user-attachments/assets/1bf38253-5baa-4b19-81ad-5ab4cd6a7ae3)
1 parent 50c01ae commit f9d7d54

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/v2/styles/ThreadList/ThreadList-layout.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,12 @@
100100
}
101101

102102
.str-chat__thread-list-item__latest-reply-created-by {
103-
display: flex;
104103
font-weight: 500;
105104
font-size: 16px;
105+
text-align: left;
106+
text-overflow: ellipsis;
107+
white-space: nowrap;
108+
overflow-x: hidden;
106109
}
107110

108111
.str-chat__thread-list-item__latest-reply-text-and-timestamp {

0 commit comments

Comments
 (0)