Skip to content

Commit 61c6fa2

Browse files
committed
add webkit prefix to appearance
1 parent 5107417 commit 61c6fa2

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

src/components/Select.vue

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,17 @@
146146
opacity: .2;
147147
}
148148
/* Search Input */
149+
.v-select input[type="search"]::-ms-clear,
149150
.v-select input[type="search"]::-webkit-search-decoration,
150151
.v-select input[type="search"]::-webkit-search-cancel-button,
151152
.v-select input[type="search"]::-webkit-search-results-button,
152153
.v-select input[type="search"]::-webkit-search-results-decoration {
153154
display: none;
154155
}
155-
.v-select input[type=search],
156-
.v-select input[type=search]:focus {
156+
.v-select input[type="search"],
157+
.v-select input[type="search"]:focus {
157158
appearance: none;
159+
-webkit-appearance: none;
158160
line-height: 1.42857143;
159161
/*color: #555;*/
160162
border-radius: 4px;
@@ -174,7 +176,7 @@
174176
clear: none;
175177
}
176178
/* Search Input States */
177-
.v-select.unsearchable input[type=search] {
179+
.v-select.unsearchable input[type="search"] {
178180
max-width: 1px;
179181
}
180182
/* List Items */
@@ -254,12 +256,12 @@
254256
<div class="dropdown v-select" :class="dropdownClasses">
255257
<div ref="toggle" @mousedown.prevent="toggleDropdown" class="dropdown-toggle" type="button">
256258

257-
<span class="selected-tag" v-for="option in valueAsArray" v-bind:key="option.index">
258-
{{ getOptionLabel(option) }}
259-
<button v-if="multiple" @click="deselect(option)" type="button" class="close">
260-
<span aria-hidden="true">&times;</span>
261-
</button>
262-
</span>
259+
<span class="selected-tag" v-for="option in valueAsArray" v-bind:key="option.index">
260+
{{ getOptionLabel(option) }}
261+
<button v-if="multiple" @click="deselect(option)" type="button" class="close">
262+
<span aria-hidden="true">&times;</span>
263+
</button>
264+
</span>
263265

264266
<input
265267
ref="search"
@@ -282,7 +284,7 @@
282284
<i v-if="!noDrop" ref="openIndicator" role="presentation" class="open-indicator"></i>
283285

284286
<slot name="spinner">
285-
<div class="spinner" v-show="mutableLoading">Loading...</div>
287+
<div class="spinner" v-show="mutableLoading">Loading...</div>
286288
</slot>
287289
</div>
288290

0 commit comments

Comments
 (0)