Skip to content

Commit dca0810

Browse files
committed
fix: removed search-input css class
1 parent e5d7f80 commit dca0810

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/SearchInput.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<input
1616
ref="inputRef"
1717
type="search"
18-
class="search-input"
1918
data-search-input="true"
2019
:value="modelValue"
2120
v-bind="attrsWithoutStyles"
@@ -137,7 +136,7 @@ export default defineComponent({
137136
) {
138137
e.preventDefault()
139138
const allVisibleSearchInputs = [].slice
140-
.call(document.querySelectorAll('[data-search-bar-input]'))
139+
.call(document.querySelectorAll('[data-search-input]'))
141140
.filter((el: HTMLElement) => {
142141
return !!(el.offsetWidth || el.offsetHeight || el.getClientRects().length)
143142
})

src/styles.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $active-color: #1ea7fd;
66
.search-input-wrapper {
77
position: relative;
88

9-
.search-input {
9+
input[data-search-input="true"] {
1010
display: block;
1111
font-family: 'Inter', system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1212
width: 100%;

0 commit comments

Comments
 (0)