discourse/plugins/chat/assets/stylesheets/desktop/chat-message-thread-indicator.scss
Joffrey JAFFEUX 09277bc543
FEATURE: my threads page (#24771)
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.
2023-12-11 07:38:07 +01:00

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;
}
}
}