Skip to content

Commit

Permalink
fix(flat-components): handle very long user name (#1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Mar 4, 2022
1 parent 51cba1b commit 5f421c3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@

.chat-message-user-time {
color: var(--text-weaker);
flex-shrink: 0;
}

.chat-message-user-name {
color: var(--text);
overflow: hidden;
display: inline-block;
text-overflow: ellipsis;
}

.chat-message-user-avatar {
Expand All @@ -34,6 +38,7 @@
height: 24px;
border-radius: 50%;
overflow: hidden;
flex-shrink: 0;

& > img {
max-width: 100%;
Expand Down

0 comments on commit 5f421c3

Please sign in to comment.