diff --git a/views/search.templ b/views/search.templ
index 01d6896..908be95 100644
--- a/views/search.templ
+++ b/views/search.templ
@@ -18,13 +18,10 @@ templ SearchPage(r data.SearchResults) {
Songs
for _, s := range s.Hits {
-
+
{ s.Result.ArtistNames }
-
{ s.Result.Title }
+ { utils.TrimText(s.Result.Title,70) }
}
@@ -35,12 +32,9 @@ templ SearchPage(r data.SearchResults) {
Albums
for _, a := range s.Hits {
-
+
-
{ a.Result.AlbumName }
+ { utils.TrimText(a.Result.AlbumName, 70) }
}
@@ -51,12 +45,9 @@ templ SearchPage(r data.SearchResults) {
Artists
for _, a := range s.Hits {
-
+
-
{ a.Result.ArtistName }
+ { utils.TrimText(a.Result.ArtistName, 70) }
}