diff --git a/public/css/default.css b/public/css/default.css index 399c8bf..f47dac3 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -400,11 +400,15 @@ footer a { #photo-figure { position: relative; object-fit: contain; + height: 97vh; + object-position: center center; +} +#photo-figure img { + object-position: center center; } #photo-figure img.normal-photo { border: none; cursor: -moz-zoom-in; - display: inline-block; object-fit: contain; z-index: 20; position: absolute; @@ -440,7 +444,7 @@ figure.landscape-figure img.blur-photo { figure.panorama-figure img.normal-photo, figure.panorama-figure img.blur-photo { width: 100%; - height: auto; + height: 100%; } #previous_photo, #next_photo {