diff --git a/static/css/style.css b/static/css/style.css
index da6e8e6..f51b714 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -1357,6 +1357,28 @@ p {
font-weight: 400;
}
+.single-line-ellipsis {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ margin: 0;
+}
+
+.clamp-3-lines {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 3;
+
+ /* Standard syntax (future support) */
+ line-clamp: 3;
+ box-orient: vertical;
+
+ overflow: hidden;
+ text-overflow: ellipsis;
+ line-height: 1.5; /* adjust if needed */
+ max-height: calc(1.5em * 3); /* 3 lines */
+}
+
.result-description {
margin: 4px 0 0 0;
color: var(--font-fg);
diff --git a/templates/files.html b/templates/files.html
index 2b949a2..665a3c4 100755
--- a/templates/files.html
+++ b/templates/files.html
@@ -158,7 +158,7 @@
{{ translate "error" }}: {{ .Error }}
{{ else }}
{{ .URL }}
- {{ .Title }}
+ {{ .Title }}
{{ if .Views }}{{ .Views }} {{ translate "views" }} • {{ end }}{{ .Size }}
{{ translate "seeders" }}: {{ .Seeders }} | {{ translate "leechers" }}: {{ .Leechers }}
{{ end }}
diff --git a/templates/forums.html b/templates/forums.html
index ea6676b..2583b66 100755
--- a/templates/forums.html
+++ b/templates/forums.html
@@ -143,9 +143,9 @@
{{if .Results}}
{{range .Results}}
{{end}}
diff --git a/templates/images.html b/templates/images.html
index 8288bcc..bb0c98f 100755
--- a/templates/images.html
+++ b/templates/images.html
@@ -211,7 +211,7 @@
{{ end }}
{{ $result.Width }} × {{ $result.Height }}
- {{ $result.Title }}
+ {{ $result.Title }}
{{ end }}
diff --git a/templates/images_only.html b/templates/images_only.html
index ae568f7..633e43e 100644
--- a/templates/images_only.html
+++ b/templates/images_only.html
@@ -51,7 +51,7 @@
{{ end }}
{{ $result.Width }} × {{ $result.Height }}
- {{ $result.Title }}
+ {{ $result.Title }}
{{ end }}
diff --git a/templates/music.html b/templates/music.html
index b15e331..9ea15a1 100644
--- a/templates/music.html
+++ b/templates/music.html
@@ -140,7 +140,7 @@
-
{{.Title}}
+
{{.Title}}
{{.Artist}}
|
diff --git a/templates/text.html b/templates/text.html
index de243a8..a62af34 100755
--- a/templates/text.html
+++ b/templates/text.html
@@ -154,15 +154,15 @@
class="favicon placeholder-img"
/>
-
+
{{ .PrettyLink.Domain }}
{{ if .PrettyLink.Path }}
{{ .PrettyLink.Path }}
{{ end }}
-
{{ .Header }}
-
{{ .Description }}
+
{{ .Header }}
+
{{ .Description }}
{{ end }}
{{ else if .NoResults }}
diff --git a/templates/videos.html b/templates/videos.html
index 0d8aba5..422cb3f 100644
--- a/templates/videos.html
+++ b/templates/videos.html
@@ -136,7 +136,7 @@
-
{{ .Views }} | {{ .Date }}