mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 02:48:50 +08:00

A follow-up to #31343. ``` WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ```
25 lines
471 B
SCSS
25 lines
471 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;
|
|
box-sizing: border-box;
|
|
flex-grow: 1;
|
|
overscroll-behavior: contain;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
@include chat-scrollbar;
|
|
}
|
|
|
|
&__no-threads {
|
|
@include thread-list-item;
|
|
margin: 0.5rem 0 0.5rem 0.5rem;
|
|
}
|
|
}
|