forked from Public/pics
ViewPhoto: rework solution to work for panoramas, too
This commit is contained in:
parent
5c2eff09b8
commit
c991f05dd3
@ -433,14 +433,16 @@ footer a {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
#photo_frame a {
|
#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 {
|
#photo_frame a img {
|
||||||
border: none;
|
border: none;
|
||||||
display: block;
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||||
|
cursor: -moz-zoom-in;
|
||||||
|
display: inline-block;
|
||||||
height: 97vh;
|
height: 97vh;
|
||||||
|
max-width: 100%;
|
||||||
|
object-fit: contain;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user