Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

Modify the cursor on thumbnail

Manav Rathic59da52f719f
diff --git a/web/apps/photos/src/styles/photoswipe.css b/web/apps/photos/src/styles/photoswipe.css
index 8229a1621b..33f2710d29 100644
--- a/web/apps/photos/src/styles/photoswipe.css
+++ b/web/apps/photos/src/styles/photoswipe.css
@@ -157,6 +157,12 @@
line-clamp: 4;
}
+/* Change the cursor on the thumbnail to the default arrow to indicate that it is
+ not interactable (PhotoSwipe by default shows the zoom out icon). */
+.pswp-ente .pswp__img {
+ cursor: auto;
+}
+
/*
Make the controllable video elements we render as custom PhotoSwipe content
take .pswp-ente up the entire container.