Add line-clamp to recent chats list
This commit is contained in:
+10
-7
@@ -90,7 +90,7 @@ body.bubblechat .welcomePanel {
|
||||
.welcomeRecent .recentChatList .recentChat {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
transition: filter 0.2s;
|
||||
align-items: center;
|
||||
padding: 5px 10px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
@@ -102,10 +102,6 @@ body.bubblechat .welcomePanel {
|
||||
flex: 0;
|
||||
}
|
||||
|
||||
.welcomeRecent .recentChatList .recentChat.selected {
|
||||
background-color: var(--cobalt30a);
|
||||
}
|
||||
|
||||
.welcomeRecent .recentChatList .recentChat:hover {
|
||||
background-color: var(--white30a);
|
||||
}
|
||||
@@ -143,11 +139,18 @@ body.bubblechat .welcomePanel {
|
||||
}
|
||||
|
||||
.welcomeRecent .recentChatList .recentChat .chatMessageContainer .chatMessage {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.big-avatars .welcomeRecent .recentChatList .recentChat .chatMessageContainer .chatMessage {
|
||||
-webkit-line-clamp: 4;
|
||||
line-clamp: 4;
|
||||
}
|
||||
|
||||
.welcomeRecent .recentChatList .recentChat .chatStats {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
Reference in New Issue
Block a user