Revert "Workbench"

This reverts commit 4736ec7e0a.
This commit is contained in:
Manav Rathi
2025-02-14 08:46:13 +05:30
parent 0d32bd55dd
commit 20fea517ce
3 changed files with 4 additions and 5 deletions

View File

@@ -50,9 +50,9 @@ import { useCallback, useEffect, useMemo, useState } from "react";
import { resumeExportsIfNeeded } from "services/export";
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.
import "../../../../packages/new/photos/components/ps5/dist/photoswipe.css";
// import "../../../../packages/new/photos/components/ps5/dist/photoswipe.css";
import "styles/global.css";

View File

@@ -12,7 +12,7 @@ body {
flex-direction: column;
height: 100%;
}
@media DISABLED {
.pswp__button--custom {
width: 48px;
height: 48px;
@@ -114,7 +114,6 @@ body {
.pswp__caption--empty {
display: none;
}
}
/*
Make the controllable video elements we render as custom PhotoSwipe content

View File

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