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 {
144144 position : relative ;
145145 background : var (--chat-sidemenu-bg-color );
146146 height : 100% ;
147- overflow-y : auto ;
148147 border-top-left-radius : var (--chat-container-border-radius );
149148 border-bottom-left-radius : var (--chat-container-border-radius );
150149}
@@ -155,35 +154,35 @@ export default {
155154}
156155
157156.box-search {
157+ position : sticky ;
158158 display : flex ;
159159 align-items : center ;
160- height : 64px ;
161- padding : 0 20px ;
162- margin-top : 5px ;
160+ height : 44px ;
161+ padding : 10px ;
163162}
164163
165164.icon-search {
166165 display : flex ;
167166 position : absolute ;
168- left : 30px ;
169- margin-top : 1px ;
167+ left : 25px ;
170168
171169 svg {
172- width : 22 px ;
173- height : 22 px ;
170+ width : 18 px ;
171+ height : 18 px ;
174172 }
175173}
176174
177175.add-icon {
178176 margin-left : auto ;
179- padding-left : 20 px ;
177+ padding-left : 10 px ;
180178}
181179
182180input {
181+ height : 38px ;
182+ width : 100% ;
183183 background : var (--chat-bg-color-input );
184184 color : var (--chat-color );
185185 border-radius : 4px ;
186- width : 100% ;
187186 font-size : 15px ;
188187 outline : 0 ;
189188 caret-color : var (--chat-color-caret );
@@ -211,7 +210,9 @@ input {
211210 position : relative ;
212211 max-width : 100% ;
213212 cursor : pointer ;
214- padding : 5px 10px ;
213+ padding : 0 5px 5px ;
214+ overflow-y : auto ;
215+ height : calc (100% - 69px );
215216}
216217
217218.room-item {
@@ -304,7 +305,11 @@ input {
304305
305306@media only screen and (max-width : 768px ) {
306307 .box-search {
307- height : 50px ;
308+ height : 38px ;
309+ }
310+
311+ .room-list {
312+ height : calc (100% - 63px );
308313 }
309314
310315 input {
You can’t perform that action at this time.
0 commit comments