Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

zi

Manav Rathie9d63dfea982
diff --git a/web/apps/photos/src/styles/global.css b/web/apps/photos/src/styles/global.css
index e15e672a24..6de4c6f5d0 100644
--- a/web/apps/photos/src/styles/global.css
+++ b/web/apps/photos/src/styles/global.css
@@ -116,6 +116,12 @@ body {
}
}
+.pswp-ente {
+ /* The default z-index for PhotoSwipe is 10k, way beyond everything else.
+ Give it a more moderate value so that MUI elements can be used with it. */
+ z-index: calc(var(--mui-zIndex-drawer) - 1);
+}
+
/*
Make the controllable video elements we render as custom PhotoSwipe content
take up the entire container.