From d739752a17b0606f1fc7baea147113729e582b99 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 22 Dec 2024 12:08:46 +0100 Subject: [PATCH] improve display of tall images --- web/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/style.css b/web/style.css index e6518ea..4b2d232 100644 --- a/web/style.css +++ b/web/style.css @@ -85,8 +85,11 @@ a:visited.wide-link { } .full-width-images img { - width: 100%; - height: auto; + display: block; + margin-left: auto; + margin-right: auto; + max-width: 100%; + max-height: 100vh; } .site {