mirror of
https://github.com/ente-io/ente.git
synced 2025-08-12 01:04:48 +00:00
Mainlineable
This commit is contained in:
parent
0e3708ffdc
commit
6ccca2114e
@ -51,9 +51,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.
|
||||||
|
@ -23,7 +23,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
type FileViewerPhotoSwipeOptions = FileViewerProps & {
|
type FileViewerPhotoSwipeOptions = FileViewerProps & {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user