File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ export default {
144
144
position : relative ;
145
145
background : var (--chat-sidemenu-bg-color );
146
146
height : 100% ;
147
- overflow-y : auto ;
148
147
border-top-left-radius : var (--chat-container-border-radius );
149
148
border-bottom-left-radius : var (--chat-container-border-radius );
150
149
}
@@ -155,35 +154,35 @@ export default {
155
154
}
156
155
157
156
.box-search {
157
+ position : sticky ;
158
158
display : flex ;
159
159
align-items : center ;
160
- height : 64px ;
161
- padding : 0 20px ;
162
- margin-top : 5px ;
160
+ height : 44px ;
161
+ padding : 10px ;
163
162
}
164
163
165
164
.icon-search {
166
165
display : flex ;
167
166
position : absolute ;
168
- left : 30px ;
169
- margin-top : 1px ;
167
+ left : 25px ;
170
168
171
169
svg {
172
- width : 22 px ;
173
- height : 22 px ;
170
+ width : 18 px ;
171
+ height : 18 px ;
174
172
}
175
173
}
176
174
177
175
.add-icon {
178
176
margin-left : auto ;
179
- padding-left : 20 px ;
177
+ padding-left : 10 px ;
180
178
}
181
179
182
180
input {
181
+ height : 38px ;
182
+ width : 100% ;
183
183
background : var (--chat-bg-color-input );
184
184
color : var (--chat-color );
185
185
border-radius : 4px ;
186
- width : 100% ;
187
186
font-size : 15px ;
188
187
outline : 0 ;
189
188
caret-color : var (--chat-color-caret );
@@ -211,7 +210,9 @@ input {
211
210
position : relative ;
212
211
max-width : 100% ;
213
212
cursor : pointer ;
214
- padding : 5px 10px ;
213
+ padding : 0 5px 5px ;
214
+ overflow-y : auto ;
215
+ height : calc (100% - 69px );
215
216
}
216
217
217
218
.room-item {
@@ -304,7 +305,11 @@ input {
304
305
305
306
@media only screen and (max-width : 768px ) {
306
307
.box-search {
307
- height : 50px ;
308
+ height : 38px ;
309
+ }
310
+
311
+ .room-list {
312
+ height : calc (100% - 63px );
308
313
}
309
314
310
315
input {
You can’t perform that action at this time.
0 commit comments