PhotoPage: fixed alignment for panoramas (now to simplify...)

This commit is contained in:
Aaron van Geffen 2023-11-10 23:34:30 +01:00
parent 9b192aa7a6
commit c8bf43b7f9
1 changed files with 6 additions and 2 deletions

View File

@ -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 {