Skip to content

Commit d46d823

Browse files
committed
Rename custom hits item css class
1 parent d557019 commit d46d823

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/search.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ais-search-box />
44
<ais-stats />
55
<ais-refinement-list attribute="brand" />
6-
<ais-hits :class-names="{ 'ais-Hits-item': 'MyCustomHitsItem' }">
6+
<ais-hits :class-names="{ 'ais-Hits-item': 'CustomHitsItem' }">
77
<template slot="item" slot-scope="{ item }">
88
<NuxtLink
99
class="text-black cursor-pointer hover:underline"
@@ -96,14 +96,14 @@ export default {
9696

9797
<style>
9898
@media (max-width: 767px) {
99-
.MyCustomHitsItem {
99+
.CustomHitsItem {
100100
padding: 10px;
101101
width: 100%;
102102
}
103103
}
104104
105105
@media (min-width: 768px) {
106-
.MyCustomHitsItem {
106+
.CustomHitsItem {
107107
width: 30%;
108108
}
109109
}

0 commit comments

Comments
 (0)