mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 21:36:11 +08:00
4b15ba405c
This commit also removes safe-area-inset-bottom when keyboard is displayed to avoid having a taller than needed space between composer and replying indicator.
30 lines
553 B
SCSS
30 lines
553 B
SCSS
.chat-thread-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
@include chat-height;
|
|
|
|
&__items {
|
|
overflow-y: scroll;
|
|
@include chat-scrollbar();
|
|
box-sizing: border-box;
|
|
flex-grow: 1;
|
|
overscroll-behavior: contain;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.chat-thread-list-item {
|
|
margin: 0.75rem 0.25rem 0.75rem 0.5rem;
|
|
|
|
& + .chat-thread-list-item {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__no-threads {
|
|
@include thread-list-item;
|
|
margin: 0.5rem 0rem 0.5rem 0.5rem;
|
|
}
|
|
}
|