From 0133308113ee8bb19613fd324b9744985177c036 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Fri, 10 Nov 2023 23:36:49 +0100 Subject: [PATCH] PhotoPage: simplify styling a little --- public/css/default.css | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/public/css/default.css b/public/css/default.css index f47dac3..0e47d8d 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -434,18 +434,11 @@ figure.panorama-figure { object-fit: cover; margin: 0 auto; } -figure.portrait-figure img.normal-photo, -figure.portrait-figure img.blur-photo, -figure.landscape-figure img.normal-photo, -figure.landscape-figure img.blur-photo { +figure#photo-figure img.normal-photo, +figure#photo-figure img.blur-photo { height: 100%; width: 100%; } -figure.panorama-figure img.normal-photo, -figure.panorama-figure img.blur-photo { - width: 100%; - height: 100%; -} #previous_photo, #next_photo { background: #fff;