diff options
| author | 2025-08-13 12:05:30 +0700 | |
|---|---|---|
| committer | 2025-08-13 12:05:30 +0700 | |
| commit | d15630a014e31835f66b0b50d9cc1e59ee4f203c (patch) | |
| tree | 1f5866c93956ec08b4121e995c4c68eaf4c90416 /views/pages | |
| parent | 74fa865d765a5b1813e1fd3b71d0e753998ae1eb (diff) | |
| download | web-0.5.6.tar.gz web-0.5.6.zip | |
fix: mobile page layout overflowingv0.5.6
fix: hide sidebar/topbar on gallery maximized
Diffstat (limited to 'views/pages')
| -rw-r--r-- | views/pages/blog-catalogue.html | 2 | ||||
| -rw-r--r-- | views/pages/blog-page.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/pages/blog-catalogue.html b/views/pages/blog-catalogue.html index 962932e..0da8d26 100644 --- a/views/pages/blog-catalogue.html +++ b/views/pages/blog-catalogue.html @@ -1,5 +1,5 @@ {{ define "body" }} -<div class="flex flex-row ar-lt-0.8:flex-col max-h-[calc(100%-7vmax)] ar-lt-0.8:max-h-[80%] flex-1 text-[1vmax]"> +<div class="flex flex-row ar-lt-0.8:flex-col max-h-[calc(100%-7vmax)] ar-lt-0.8:max-h-[calc(100%-25vh)] flex-1 text-[1vmax]"> <form hx-get="/api/v1/blog-search" hx-vals='{"lang": "{{ .Lang }}"}' hx-target=".blog-cards" hx-swap="innerHTML" 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]"> <fieldset> diff --git a/views/pages/blog-page.html b/views/pages/blog-page.html index 093a75e..feb63ef 100644 --- a/views/pages/blog-page.html +++ b/views/pages/blog-page.html @@ -15,7 +15,7 @@ {{ end }} {{ define "body" }} -<div class="bg-background-light flex flex-col grow overflow-y-auto inset-shadow p-[2.4vmin] max-h-[calc(100%-7vmax)] ar-lt-0.8:max-h-[80%]"> +<div class="bg-background-light flex flex-col grow overflow-y-auto inset-shadow p-[2.4vmin] max-h-[calc(100%-7vmax)] ar-lt-0.8:max-h-[calc(100%-25vh)]"> {{ .ParsedMarkdown }} {{- if .MapLocationX }} <hr class="border-t-4 border-dotted border-main-dark mt-[0.8vmin] mb-[0.8vmin] w-[80%] ml-auto mr-auto"> |