update: user's panel responsive + height of chat view

This commit is contained in:
gaelle morin
2020-06-08 15:50:42 +02:00
parent 797728b743
commit 58e2f3b2ea
2 changed files with 8 additions and 4 deletions

View File

@ -1,16 +1,19 @@
.chat-view {
padding: 0;
height: calc(100vh - 84px - 83px);
height: calc(100vh - 50px - 56px); /* Header's and subheader's height on mobile */
position: relative;
overflow: hidden;
@include breakpoint(lg) {
height: calc(100vh - 84px - 83px); /* Header's and subheader's height on mobile */
}
> sib-chat {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-height: calc(100vh - 84px - 83px);
z-index: 0;
}
}