use css truncate everywhere and remove StringUtils.truncate function (#513)

Co-authored-by: robs <git@robs.social>
This commit is contained in:
Robert Kleinschuster
2024-12-13 21:23:12 +01:00
committed by GitHub
parent 53e106dac2
commit e9d365ee9e
14 changed files with 20 additions and 51 deletions
@@ -1,6 +1,6 @@
<div class="mb-6 flex gap-3 flex-row items-center justify-between">
<h2 class="text-title-md2 font-bold text-black dark:text-white">
Results for "{StringUtils.truncate(@search_term, 50)}"
<h2 class="text-title-md2 font-bold text-black dark:text-white truncate">
Results for "{@search_term}"
</h2>
</div>