discourse/plugins/chat/assets/stylesheets/common/chat-threads-list.scss
Jan Cernik ab326d10d8
FIX: Make long thread titles readable (#25456)
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>
2024-01-30 14:18:00 +01:00

24 lines
475 B
SCSS

.chat-thread-list {
display: flex;
flex-direction: column;
position: relative;
@include chat-height(
calc(var(--chat-header-offset) + env(safe-area-inset-bottom))
);
&__items {
overflow-y: scroll;
@include chat-scrollbar();
box-sizing: border-box;
flex-grow: 1;
overscroll-behavior: contain;
display: flex;
flex-direction: column;
}
&__no-threads {
@include thread-list-item;
margin: 0.5rem 0rem 0.5rem 0.5rem;
}
}