Fixed overflow of titles and descriptions on search results pages
Some checks failed
Run Integration Tests / test (push) Failing after 2m50s

This commit is contained in:
partisan 2025-05-27 22:09:22 +02:00
parent 3407ed5f4b
commit 4867b3b932
8 changed files with 33 additions and 11 deletions

View file

@ -154,15 +154,15 @@
class="favicon placeholder-img"
/>
</div>
<div class="result-url">
<div class="result-url single-line-ellipsis">
{{ .PrettyLink.Domain }}
{{ if .PrettyLink.Path }}
{{ .PrettyLink.Path }}
{{ end }}
</div>
</div>
<a href="{{ .URL }}" class="result-title"><h3>{{ .Header }}</h3></a>
<p class="result-description">{{ .Description }}</p>
<a href="{{ .URL }}" class="result-title"><h3 class="single-line-ellipsis">{{ .Header }}</h3></a>
<p class="result-description clamp-3-lines">{{ .Description }}</p>
</div>
{{ end }}
{{ else if .NoResults }}