Skip to content

Commit 834c16b

Browse files
committed
Lightbox: Show zoom-in cursor only if content is zoomable #1307
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent 971f39d commit 834c16b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/src/css/lightbox.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@
188188

189189
.pswp__img {
190190
-webkit-touch-callout: default;
191+
}
192+
193+
.is-zoomable .pswp__img {
191194
cursor: zoom-in;
192195
}
193196

0 commit comments

Comments
 (0)