ViewPhoto: rework solution to work for panoramas, too

This commit is contained in:
Aaron van Geffen 2023-03-12 12:58:58 +01:00
parent 5c2eff09b8
commit c991f05dd3

View File

@ -433,14 +433,16 @@ footer a {
text-align: center;
}
#photo_frame a {
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
cursor: -moz-zoom-in;
display: inline-block;
}
#photo_frame a img {
border: none;
display: block;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
cursor: -moz-zoom-in;
display: inline-block;
height: 97vh;
max-width: 100%;
object-fit: contain;
width: auto;
}