2020-10-12 11:19:10 +00:00
|
|
|
@use "../colors" as c
|
|
|
|
|
|
|
|
.c-chat
|
|
|
|
display: grid
|
2020-11-26 03:38:12 +00:00
|
|
|
grid-template-rows: 0 1fr 82px // fixed so that input box height adjustment doesn't mess up scroll
|
2020-10-12 11:19:10 +00:00
|
|
|
align-items: end
|
2020-10-15 13:24:15 +00:00
|
|
|
flex: 1
|
2020-10-12 11:19:10 +00:00
|
|
|
|
|
|
|
&__messages
|
2020-11-26 03:38:12 +00:00
|
|
|
position: relative
|
2020-10-12 11:19:10 +00:00
|
|
|
height: 100%
|
|
|
|
overflow-y: scroll
|
|
|
|
scrollbar-color: c.$darkest c.$darker
|
|
|
|
display: grid
|
|
|
|
align-items: end
|
|
|
|
|
|
|
|
&__inner
|
|
|
|
padding: 20px 20px 20px
|