Add line-clamp to recent chats list

2e6a02a57681c157ba2dace545b606aeeeedc18d

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +10 -7Ignore whitespace
public/css/welcome.css+10 -7
@@ -90,7 +90,7 @@ body.bubblechat .welcomePanel {
9090.welcomeRecent .recentChatList .recentChat {
9191 display: flex;
9292 flex-direction: row;
93- transition: filter 0.2s;
93+ align-items: center;
9494 padding: 5px 10px;
9595 border-radius: 10px;
9696 cursor: pointer;
@@ -102,10 +102,6 @@ body.bubblechat .welcomePanel {
102102 flex: 0;
103103}
104104
105-.welcomeRecent .recentChatList .recentChat.selected {
106- background-color: var(--cobalt30a);
107-}
108-
109105.welcomeRecent .recentChatList .recentChat:hover {
110106 background-color: var(--white30a);
111107}
@@ -143,11 +139,18 @@ body.bubblechat .welcomePanel {
143139}
144140
145141.welcomeRecent .recentChatList .recentChat .chatMessageContainer .chatMessage {
146- white-space: nowrap;
142+ display: -webkit-box;
147143 text-overflowwebkit-box-orient: ellipsisvertical;
144+ -webkit-line-clamp: 2;
145+ line-clamp: 2;
148146 overflow: hidden;
149147}
150148
149+body.big-avatars .welcomeRecent .recentChatList .recentChat .chatMessageContainer .chatMessage {
150+ -webkit-line-clamp: 4;
151+ line-clamp: 4;
152+}
153+
151154.welcomeRecent .recentChatList .recentChat .chatStats {
152155 display: flex;
153156 flex-direction: row;