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

@ -143,9 +143,9 @@
{{if .Results}}
{{range .Results}}
<div class="result_item">
<a id="link" href="{{.URL}}">{{.URL}}</a>
<a href="{{.URL}}"><h3>{{.Header}}</h3></a>
<p>{{.Description}}</p>
<a id="link" class="single-line-ellipsis" href="{{.URL}}">{{.URL}}</a>
<a href="{{.URL}}"><h3 class="single-line-ellipsis">{{.Header}}</h3></a>
<p class="clamp-3-lines">{{.Description}}</p>
</div>
<br>
{{end}}