discourse/plugins/chat/assets/stylesheets/common/chat-channel.scss
Joffrey JAFFEUX 52e8d57293
FEATURE: implements last read message for threads (#26702)
This commit will now allow us to track read position in a thread and returns to this position when you open the thread.

Note this commit is also extracting the following components to make it possible:
- `<ChatMessagesScroller />`
- `<ChatMessagesContainer />`

The `UpdateUserThreadLastRead` has been updated to allow this.

Various refactorings have also been done to the code and specs to improve the support of last read.
2024-04-25 10:47:54 +02:00

27 lines
528 B
SCSS

.chat-channel {
display: flex;
flex-direction: column;
width: 100%;
min-height: 1px;
position: relative;
overflow: hidden;
grid-area: main;
min-width: 250px;
@include chat-height(var(--chat-header-offset, 0px));
.join-channel-btn.in-float {
position: absolute;
transform: translateX(-50%);
left: 50%;
top: 10px;
z-index: 10;
}
.all-loaded-message {
text-align: center;
color: var(--primary-medium);
font-size: var(--font-down-1);
padding: 0.5em 0.25em 0.25em;
}
}