From d3ffefbd3d9de2378b564e4c6f965c03a5a06113 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Wed, 15 Oct 2025 23:23:27 +0700 Subject: feat: adapt layout for phone screens (especially small ones) --- views/pages/blog-catalogue.html | 16 ++++++++-------- views/pages/blog-page.html | 6 +++++- views/pages/global-map.html | 18 +++++++++--------- views/pages/home-page.html | 8 ++++---- 4 files changed, 26 insertions(+), 22 deletions(-) (limited to 'views/pages') diff --git a/views/pages/blog-catalogue.html b/views/pages/blog-catalogue.html index 27ae2b8..faa6588 100644 --- a/views/pages/blog-catalogue.html +++ b/views/pages/blog-catalogue.html @@ -1,11 +1,11 @@ {{ define "body" }} -
+
+ class="tags-list ar-gt-0.8:min-w-[10dvh] ar-gt-0.8:max-w-[20dvh] ar-gt-0.8:w-fit ar-lt-0.8:w-[100%] ar-lt-0.8:max-h-[30%] flex shrink-0 flex-col ar-gt-0.8:mr-6 bg-background-light inset-shadow">
{{ .L.BlogSearch.TagsHeader }} -
+
@@ -18,7 +18,7 @@
{{ .L.BlogSearch.OrderByHeader }} -
+
@@ -41,11 +41,11 @@

-
- -
+
+ +
diff --git a/views/pages/blog-page.html b/views/pages/blog-page.html index cd7aeba..aadebac 100644 --- a/views/pages/blog-page.html +++ b/views/pages/blog-page.html @@ -17,10 +17,14 @@ {{ define "body" }}
+

{{ .Title }}

+

{{ .L.Metadata.Published }}: {{ .PublishedDate }}

+

{{ .L.Metadata.Action }}: {{ .ActionDate }}

+
{{ .ParsedMarkdown }} {{- if .MapLocationX }}
-
+

-