mirror of
https://github.com/ente-io/ente.git
synced 2025-08-09 07:48:52 +00:00
Revert "Temporary workbench"
This reverts commit 8e08a0d71d2b32fe56fdd2e6acd80ad7a09f0a8f.
This commit is contained in:
parent
80859d91b0
commit
2859e02dac
@ -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";
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user