mirror of
https://github.com/discourse/discourse.git
synced 2024-12-23 16:36:30 +08:00
09277bc543
This commit adds a new "My threads" link in sidebar and drawer. This link will open the "/chat/threads" page which contains all threads where the current user is a member. It's ordered by activity (unread and then last message created). Moreover, the threads list of a channel page is now showing every threads of a channel, and not just the ones where you are a member.
33 lines
723 B
SCSS
33 lines
723 B
SCSS
.chat-message-thread-indicator {
|
|
max-width: 600px;
|
|
grid-template-areas:
|
|
"avatar info replies participants"
|
|
"avatar excerpt excerpt excerpt";
|
|
|
|
&__replies-count {
|
|
display: flex;
|
|
align-self: center;
|
|
}
|
|
}
|
|
|
|
@container (max-width: 400px) {
|
|
.chat-message-thread-indicator {
|
|
grid-template-areas:
|
|
"avatar info info participants"
|
|
"excerpt excerpt excerpt replies";
|
|
&__replies-count {
|
|
align-self: center;
|
|
grid-area: replies;
|
|
justify-content: flex-end;
|
|
}
|
|
&__last-reply-excerpt {
|
|
white-space: wrap;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
margin-top: 0.5rem;
|
|
margin-right: 0.25rem;
|
|
}
|
|
}
|
|
}
|