We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7815cb commit 031a12eCopy full SHA for 031a12e
src/ChatWindow/RoomsList.vue
@@ -7,14 +7,15 @@
7
<slot name="rooms-header"></slot>
8
9
<div class="box-search">
10
- <div class="icon-search">
+ <div class="icon-search" v-if="rooms.length">
11
<svg-icon name="search" />
12
</div>
13
<input
14
- type="text"
+ type="search"
15
:placeholder="textMessages.SEARCH"
16
autocomplete="off"
17
@input="searchRoom"
18
+ v-show="rooms.length"
19
/>
20
<div v-if="showAddRoom" class="svg-button add-icon" @click="addRoom">
21
<svg-icon name="add" />
@@ -172,7 +173,8 @@ export default {
172
173
}
174
175
.add-icon {
- margin-left: 20px;
176
+ margin-left: auto;
177
+ padding-left: 20px;
178
179
180
input {
0 commit comments