Chats: fix pagination bugs, use flex column-reverse
This commit is contained in:
parent
8e6a662fbb
commit
c595e393da
2 changed files with 7 additions and 1 deletions
Binary file not shown.
|
@ -99,12 +99,18 @@
|
||||||
.chat-messages {
|
.chat-messages {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column-reverse;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-message {
|
.chat-message {
|
||||||
margin: 14px 10px;
|
padding: 7px 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
padding-top: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
&__bubble {
|
&__bubble {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
|
|
Loading…
Reference in a new issue