Skip to content

Commit a73e169

Browse files
committed
refactor css + input type is search
1 parent 555adeb commit a73e169

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/api/ApiIndex.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ function slugify(text: string): string {
7070
<div class="api-filter">
7171
<label for="api-filter">Filter</label>
7272
<input
73+
type="search"
7374
placeholder="Enter keyword"
7475
id="api-filter"
7576
v-model="query"
@@ -184,7 +185,7 @@ h3 {
184185
.api-filter {
185186
display: flex;
186187
align-items: center;
187-
justify-content: space-between;
188+
justify-content: flex-start;
188189
gap: 1rem;
189190
}
190191
@@ -226,10 +227,6 @@ h3 {
226227
.header {
227228
display: block;
228229
}
229-
230-
.api-filter {
231-
justify-content: flex-start;
232-
}
233230
}
234231
235232
@media (min-width: 768px) {

0 commit comments

Comments
 (0)