Skip to content

Commit 6196020

Browse files
author
Daniel Fjeldstad
committed
Upgrade Algolia theme version
1 parent 4575935 commit 6196020

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

pages/search.vue

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
</p>
2828
</template>
2929
</ais-hits>
30+
<br />
3031
<ais-pagination />
3132
</ais-instant-search-ssr>
3233
</template>
@@ -70,7 +71,7 @@ export default {
7071
link: [
7172
{
7273
rel: 'stylesheet',
73-
href: 'https://cdn.jsdelivr.net/npm/instantsearch.css@7.3.1/themes/algolia-min.css',
74+
href: 'https://cdn.jsdelivr.net/npm/instantsearch.css@7.4.5/themes/algolia-min.css',
7475
},
7576
],
7677
}
@@ -92,3 +93,15 @@ export default {
9293
},
9394
}
9495
</script>
96+
97+
<style scoped>
98+
li {
99+
width: 100vw !important;
100+
}
101+
102+
@media (max-width: 768px) {
103+
.ais-Hits-item {
104+
width: 100vw !important;
105+
}
106+
}
107+
</style>

0 commit comments

Comments
 (0)