From b8322e1fd8eeec3c3b5481254033472a0e58c58d Mon Sep 17 00:00:00 2001 From: Karl Date: Tue, 27 May 2025 18:43:58 +0100 Subject: [PATCH] updated view on gallery page --- templates/gallery.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/gallery.html b/templates/gallery.html index 0952b06..895b3a7 100644 --- a/templates/gallery.html +++ b/templates/gallery.html @@ -100,6 +100,10 @@ max-width: 80%; text-align: left; margin-top: 20px; + max-height: 25vh; + /* NEW: restrict height */ + overflow-y: auto; + /* NEW: allow vertical scroll */ } /* Back button fixed top right */ @@ -158,6 +162,10 @@ font-size: 14px; max-width: 90%; padding: 8px 16px; + max-height: 20vh; + /* smaller height for mobile */ + overflow-y: auto; + /* keep scroll on mobile too */ } .button-link {