From 3c3be9b930961870c33391dc6d4a7abcc7f7df1b Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Tue, 19 May 2026 22:50:38 +0200 Subject: [PATCH] feat(share): permit scrolldown+ keep header sticky on the top this solve issue raised on #253 --- static/css/views/share-public.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/static/css/views/share-public.css b/static/css/views/share-public.css index 7f979204..1688fc8e 100644 --- a/static/css/views/share-public.css +++ b/static/css/views/share-public.css @@ -11,8 +11,10 @@ body { color: var(--color-text-heading); display: flex; justify-content: center; - align-items: center; + align-items: safe center; + height: auto; min-height: 100vh; + overflow: auto; padding: 1rem; } @@ -183,6 +185,11 @@ body.gallery-mode .share-logo { align-items: center; gap: 0.75rem; margin-bottom: 1rem; + position: sticky; + top: 0; + z-index: 10; + background: var(--color-bg-surface); + padding: 0.75rem 0; } .gallery-title { flex: 1 1 200px;