From c73564846890873f8f6866b4924194e35fcfb0d1 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sun, 12 Mar 2023 12:37:57 +0100 Subject: [PATCH] ViewPhoto: improve image alignment in page --- public/css/default.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/css/default.css b/public/css/default.css index 3e5b8c7..ee6e69f 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -429,6 +429,7 @@ footer a { /* Styling for the photo pages --------------------------------*/ #photo_frame { + padding-top: 1.5vh; text-align: center; } #photo_frame a { @@ -439,8 +440,8 @@ footer a { #photo_frame a img { border: none; display: block; - height: auto; - width: 100%; + height: 97vh; + width: auto; } #previous_photo, #next_photo {