Merge pull request #7533 from aignatov-bio/ai-sci-10678-fix-spaces-in-title-resutls

Fix spaces in search results [SCI-10678]
This commit is contained in:
aignatov-bio 2024-05-07 10:46:49 +02:00 committed by GitHub
commit cc23b517c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,10 +6,10 @@
</div>
</template>
<template v-else>
<div class="truncate">
<div class="truncate whitespace-pre">
{{ text.slice(0, endCharacters * -1) }}
</div>
<div class="shrink-0">
<div class="shrink-0 whitespace-pre">
{{ text.slice(text.length - endCharacters) }}
</div>
</template>