mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 20:53:44 +08:00
ab326d10d8
When reaching the top of a thread, the full thread title will be displayed if it was too long to fit. It works in mobile, drawer mode, and fullscreen. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
18 lines
400 B
SCSS
18 lines
400 B
SCSS
.chat-thread {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
@include chat-height(var(--chat-header-expanded-offset, 0px));
|
|
|
|
&__body {
|
|
overflow-y: scroll;
|
|
@include chat-scrollbar();
|
|
box-sizing: border-box;
|
|
flex-grow: 1;
|
|
overscroll-behavior: contain;
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
transition: padding-top 0.2s ease-in-out;
|
|
}
|
|
}
|