Revert "Temporary workbench"

This reverts commit 8e08a0d71d2b32fe56fdd2e6acd80ad7a09f0a8f.
This commit is contained in:
Manav Rathi 2025-02-28 19:40:39 +05:30
parent 80859d91b0
commit 2859e02dac
No known key found for this signature in database
3 changed files with 4 additions and 5 deletions

View File

@ -48,9 +48,9 @@ import { useCallback, useEffect, useMemo, useState } from "react";
import { resumeExportsIfNeeded } from "services/export"; import { resumeExportsIfNeeded } from "services/export";
import { photosLogout } from "services/logout"; import { photosLogout } from "services/logout";
// import "photoswipe/dist/photoswipe.css"; import "photoswipe/dist/photoswipe.css";
// TODO(PS): Note, auto hide only works with the new CSS. // TODO(PS): Note, auto hide only works with the new CSS.
import "../../../../packages/gallery/components/viewer/ps5/dist/photoswipe.css"; // import "../../../../packages/gallery/components/viewer/ps5/dist/photoswipe.css";
import "styles/global.css"; import "styles/global.css";

View File

@ -12,7 +12,7 @@ body {
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
} }
@media DISABLED {
.pswp__button--custom { .pswp__button--custom {
width: 48px; width: 48px;
height: 48px; height: 48px;
@ -114,7 +114,6 @@ body {
.pswp__caption--empty { .pswp__caption--empty {
display: none; display: none;
} }
}
.pswp-ente { .pswp-ente {
/* The default z-index for PhotoSwipe is 10k, way beyond everything else. /* The default z-index for PhotoSwipe is 10k, way beyond everything else.

View File

@ -31,7 +31,7 @@ if (process.env.NEXT_PUBLIC_ENTE_WIP_PS5) {
let PhotoSwipe; let PhotoSwipe;
if (process.env.NEXT_PUBLIC_ENTE_WIP_PS5) { if (process.env.NEXT_PUBLIC_ENTE_WIP_PS5) {
// TODO(PS): Comment me before merging into main. // TODO(PS): Comment me before merging into main.
PhotoSwipe = require("./ps5/dist/photoswipe.esm.js").default; // PhotoSwipe = require("./ps5/dist/photoswipe.esm.js").default;
} }
/** /**