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.
31 lines
676 B
SCSS
31 lines
676 B
SCSS
.chat-thread {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
@include chat-height;
|
|
|
|
&__header {
|
|
height: var(--chat-header-offset);
|
|
min-height: var(--chat-header-offset);
|
|
border-bottom: 1px solid var(--primary-low);
|
|
border-top: 1px solid var(--primary-low);
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-inline: 1rem;
|
|
}
|
|
|
|
&__body {
|
|
overflow-y: scroll;
|
|
@include chat-scrollbar();
|
|
margin: 2px;
|
|
padding-right: 2px;
|
|
box-sizing: border-box;
|
|
flex-grow: 1;
|
|
overscroll-behavior: contain;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
}
|