discourse/plugins/chat/assets/stylesheets/common/chat-threads-list.scss
Jarek Radosz b47e429b26
DEV: Fix mixed-decls sass deprecations in plugins (#31356)
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
```
2025-02-18 20:04:51 +01:00

24 lines
471 B
SCSS
Vendored

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