From 09cb8a09061d1a8d748ca456780a54a99e1decf3 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Tue, 12 Aug 2025 12:46:31 +0700 Subject: fix: rm small gap (upper-right corner) fix: correct overflow in blog catalogue fix: better handling of narrow height in blog catalogue feat: include tag count in blog catalogue feat: select all checkboxes on load when none are selected --- views/layouts/general-page.html | 2 +- views/pages/blog-catalogue.html | 36 +++++++++++++++++--------------- views/partials/catalogue-blog-cards.html | 14 +++++++------ 3 files changed, 28 insertions(+), 24 deletions(-) (limited to 'views') diff --git a/views/layouts/general-page.html b/views/layouts/general-page.html index d5146f8..121a5cd 100644 --- a/views/layouts/general-page.html +++ b/views/layouts/general-page.html @@ -48,7 +48,7 @@
-
+

//

diff --git a/views/pages/blog-catalogue.html b/views/pages/blog-catalogue.html index 6fe1c82..4cda19d 100644 --- a/views/pages/blog-catalogue.html +++ b/views/pages/blog-catalogue.html @@ -1,7 +1,7 @@ {{ define "body" }} -
+
+ class="tags-list ar-gt-0.8:min-w-[10vh] ar-gt-0.8:max-w-[20vh] ar-gt-0.8:w-fit ar-lt-0.8:w-[100%] flex shrink-0 flex-col overflow-y-auto ar-gt-0.8:mr-[1.2vmin]">
{{ .L.BlogSearch.TagsHeader }}
@@ -10,7 +10,7 @@
{{- range .Tags }}
- +
{{- end }}
@@ -59,20 +59,6 @@ {{ define "footer" }} - - + + {{ end }} diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html index 36a6184..a9e4010 100644 --- a/views/partials/catalogue-blog-cards.html +++ b/views/partials/catalogue-blog-cards.html @@ -1,13 +1,15 @@ {{- range .BlogPages }}
- +
-
- {{ .Title }} - // - {{ .ActionDate }} -

{{ .PublishedTime }}

+

{{ .ShortDescription }}

{{ .L.TagsLabel }} {{ .Tags }}

-- cgit v1.3.1+13