🐛 Fixed search-highlight

This commit is contained in:
Mawoka
2022-06-25 17:08:09 +02:00
parent 2412d1db2b
commit 2f053c806a
2 changed files with 14 additions and 16 deletions
+1 -13
View File
@@ -89,7 +89,7 @@
{#if resp_data.hits.length !== 0}
<div class="grid lg:grid-cols-3 grid-cols-1">
{#each resp_data.hits as quiz}
<SearchCard {quiz} />
<SearchCard quiz={quiz._formatted} enable_html={true} />
{/each}
</div>
{:else}
@@ -108,15 +108,3 @@
</div>
{/if}
{/if}
<style lang="scss">
/* eslint-disable-next-line css-unused-selector */
mark {
background-color: #ff0;
border-radius: 0.2em;
color: #000;
font-style: normal;
font-weight: bold;
padding: 0 0.2em;
}
</style>