Carbon/src/sass/components/chat.sass

19 lines
376 B
Sass
Raw Normal View History

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