fix bug corta resultados
This commit is contained in:
parent
51ccf64ae2
commit
3e9dce1c53
|
|
@ -693,7 +693,7 @@ function metaLocation(meta: DocMeta | undefined): string {
|
||||||
<!-- Snippet con highlight: solo en modo búsqueda -->
|
<!-- Snippet con highlight: solo en modo búsqueda -->
|
||||||
<div
|
<div
|
||||||
v-if="group.firstHit"
|
v-if="group.firstHit"
|
||||||
class="snippet-html text-sm text-dimmed line-clamp-3"
|
class="snippet-html text-sm text-dimmed"
|
||||||
v-html="highlightedFor(group.firstHit, 'text') || group.firstHit.document.text"
|
v-html="highlightedFor(group.firstHit, 'text') || group.firstHit.document.text"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -425,7 +425,7 @@ function highlightedFor(hit: TypesenseHit, field: string): string | null {
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="highlightedFor(hit, 'text') || hit.document.text"
|
v-if="highlightedFor(hit, 'text') || hit.document.text"
|
||||||
class="snippet-html text-sm text-toned line-clamp-3"
|
class="snippet-html text-sm text-toned"
|
||||||
v-html="highlightedFor(hit, 'text') || hit.document.text"
|
v-html="highlightedFor(hit, 'text') || hit.document.text"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -695,7 +695,7 @@ function metaLocation(meta: DocMeta | undefined): string {
|
||||||
<!-- Snippet con highlight: solo en modo búsqueda -->
|
<!-- Snippet con highlight: solo en modo búsqueda -->
|
||||||
<div
|
<div
|
||||||
v-if="group.firstHit"
|
v-if="group.firstHit"
|
||||||
class="snippet-html text-sm text-dimmed line-clamp-3"
|
class="snippet-html text-sm text-dimmed"
|
||||||
v-html="highlightedFor(group.firstHit, 'text') || group.firstHit.document.text"
|
v-html="highlightedFor(group.firstHit, 'text') || group.firstHit.document.text"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue