diff options
| author | 2025-10-18 05:39:31 +0700 | |
|---|---|---|
| committer | 2025-10-18 05:39:31 +0700 | |
| commit | 1724a4afb71af2849999a839d2e2fc408e4e1a12 (patch) | |
| tree | 3481f470009ea3db2d36d45e6df124e459d63fda /views/pages/blog-page.html | |
| parent | e2dce22ed8078a33a51da7c7ef825be80ebaf5dc (diff) | |
| parent | a2dd784507215aabe82f5a30d547ee631fe364ad (diff) | |
| download | web-1724a4afb71af2849999a839d2e2fc408e4e1a12.tar.gz web-1724a4afb71af2849999a839d2e2fc408e4e1a12.zip | |
v0.9.2 (#12)v0.9.2
- feat: resize sidebar to absolute length units
- feat: add condition of max-height for header+logo text
Diffstat (limited to 'views/pages/blog-page.html')
| -rw-r--r-- | views/pages/blog-page.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/pages/blog-page.html b/views/pages/blog-page.html index 9704502..c9c9e91 100644 --- a/views/pages/blog-page.html +++ b/views/pages/blog-page.html @@ -1,9 +1,9 @@ {{ define "body" }} <div class="bg-background-light flex flex-col inset-shadow px-8 py-4 overflow-y-auto"> - <p class="xs:hidden font-spectral text-2xl font-bold italic text-main-dark tracking-[.0125rem] mb-1">{{ .Title }}</p> - <p class="xs:hidden grow text-lg font-spectral text-secondary">{{ .L.Metadata.Published }}: {{ .PublishedDate }}</p> - <p class="xs:hidden grow text-lg font-spectral text-secondary">{{ .L.Metadata.Action }}: {{ .ActionDate }}</p> - <hr class="xs:hidden border-t-2 border-dotted border-main-dark mt-1 mb-2 w-full ml-auto mr-auto"> + <p class="max-xs:block [@media(max-height:32rem)]:block hidden font-spectral text-2xl font-bold italic text-main-dark tracking-[.0125rem] mb-1">{{ .Title }}</p> + <p class="max-xs:block [@media(max-height:32rem)]:block hidden grow text-lg font-spectral text-secondary">{{ .L.Metadata.Published }}: {{ .PublishedDate }}</p> + <p class="max-xs:block [@media(max-height:32rem)]:block hidden grow text-lg font-spectral text-secondary">{{ .L.Metadata.Action }}: {{ .ActionDate }}</p> + <hr class="max-xs:block [@media(max-height:32rem)]:block hidden border-t-2 border-dotted border-main-dark mt-1 mb-2 w-full ml-auto mr-auto"> {{ .ParsedMarkdown }} {{- if .MapLocationX }} <hr class="border-t-3 border-dotted border-main-dark mt-1 mb-2 w-[80%] ml-auto mr-auto"> |