Skip to content

Commit 9e76d4f

Browse files
committed
Style: 최근 채팅 내역이 overflow되면 ...으로 말 줄임
1 parent 781b4b2 commit 9e76d4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/friends/friend/FriendInfo.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,8 @@ const characterNameCSS = css`
5858
const messageCSS = css`
5959
font-size: 0.75rem;
6060
color:${color.greenGray};
61+
max-width: 15rem;
62+
white-space: nowrap;
63+
overflow: hidden;
64+
text-overflow: ellipsis;
6165
`;

0 commit comments

Comments
 (0)