File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div
3
- class =" col-messages"
4
- :class =" { 'col-messages-full': !showRoomsList || singleRoom }"
5
- v-show =" (isMobile && !showRoomsList) || !isMobile"
6
- >
2
+ <div class =" col-messages" v-show =" (isMobile && !showRoomsList) || !isMobile" >
7
3
<div class =" room-header app-border-b" >
8
4
<div
9
5
v-if =" !singleRoom"
@@ -547,25 +543,18 @@ export default {
547
543
548
544
<style lang="scss" scoped>
549
545
.col-messages {
550
- flex : 0 0 75% ;
551
- max-width : 75% ;
552
546
position : relative ;
553
547
height : 100% ;
554
- }
555
-
556
- .col-messages-full {
557
- flex : 0 0 100% ;
558
- max-width : 100% ;
548
+ flex : 1 ;
559
549
}
560
550
561
551
.room-header {
562
- align-items : center ;
563
- display : flex ;
564
- flex : 1 1 100% ;
565
- padding : 0 16px ;
566
552
position : relative ;
553
+ display : flex ;
554
+ align-items : center ;
567
555
height : 64px ;
568
556
margin-right : 1px ;
557
+ padding : 0 16px ;
569
558
background : var (--chat-header-bg-color );
570
559
border-top-right-radius : var (--chat-container-border-radius );
571
560
}
Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ export default {
134
134
<style lang="scss" scoped>
135
135
.rooms-container {
136
136
flex : 0 0 25% ;
137
+ min-width : 260px ;
138
+ max-width : 500px ;
137
139
position : relative ;
138
140
background : var (--chat-sidemenu-bg-color );
139
141
height : 100% ;
@@ -144,6 +146,7 @@ export default {
144
146
145
147
.rooms-container-full {
146
148
flex : 0 0 100% ;
149
+ max-width : 100% ;
147
150
}
148
151
149
152
.box-search {
You can’t perform that action at this time.
0 commit comments