ui: fix search dropdown width and alignment

This commit is contained in:
2026-04-06 23:01:48 +02:00
parent 6495bc733a
commit 120e7a1470
2 changed files with 12 additions and 7 deletions

View File

@@ -143,10 +143,10 @@ func (h *Handler) HandleQuickSearch(w http.ResponseWriter, r *http.Request) {
return
}
// Limit to 10 results
// Limit to 5 results
results := res.Animes
if len(results) > 10 {
results = results[:10]
if len(results) > 5 {
results = results[:5]
}
type SearchResult struct {