mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Temporary workbench
Revert "Prep for merge" This reverts commit e75165d01e7e547e3219288a8a8c5f0dd44a9001.
This commit is contained in:
parent
f49fcd7984
commit
8e08a0d71d
@ -48,9 +48,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/gallery/components/viewer/ps5/dist/photoswipe.css";
|
||||
import "../../../../packages/gallery/components/viewer/ps5/dist/photoswipe.css";
|
||||
|
||||
import "styles/global.css";
|
||||
|
||||
|
@ -12,7 +12,7 @@ body {
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media DISABLED {
|
||||
.pswp__button--custom {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
@ -114,6 +114,7 @@ body {
|
||||
.pswp__caption--empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pswp-ente {
|
||||
/* The default z-index for PhotoSwipe is 10k, way beyond everything else.
|
||||
|
@ -32,7 +32,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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user