From c52a07e3fa738135eaa5272d9f115e4740b60c61 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Tue, 4 Nov 2025 13:23:33 +0300 Subject: fix: correctly pack galleries on mobiles feat: switch masonry to packery debug: log app shutdown more --- internal/glightbox/html_renderer.go | 11 +++++------ internal/router/router.go | 5 +++++ static/input.css | 16 ++++------------ views/layouts/general-page.html | 36 +++++++++++++++++++++++++++++++++++- 4 files changed, 49 insertions(+), 19 deletions(-) diff --git a/internal/glightbox/html_renderer.go b/internal/glightbox/html_renderer.go index 7022793..b7b256a 100644 --- a/internal/glightbox/html_renderer.go +++ b/internal/glightbox/html_renderer.go @@ -133,9 +133,9 @@ func (r *GLightboxHTMLRenderer) renderGLightbox(w util.BufWriter, source []byte, } w.WriteString(fmt.Sprintf(` -
+

-
+
%s
@@ -144,11 +144,10 @@ func (r *GLightboxHTMLRenderer) renderGLightbox(w util.BufWriter, source []byte, w.WriteString(fmt.Sprintf(` - + + +
-- cgit v1.3.1+13