forked from Public/pics
PhotoPage: fixed alignment for panoramas (now to simplify...)
This commit is contained in:
parent
9b192aa7a6
commit
c8bf43b7f9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user