π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Tweak
Manav Rathi0e32e60dbdfb
diff --git a/web/apps/photos/src/styles/global.css b/web/apps/photos/src/styles/global.cssindex 007c8d5d20..eee2c742fd 100644--- a/web/apps/photos/src/styles/global.css+++ b/web/apps/photos/src/styles/global.css@@ -174,9 +174,9 @@ body {.pswp-ente .pswp__caption {color: white;position: absolute;- bottom: 0;+ bottom: 0px;right: 0;- margin: 10px;+ margin: 20px 24px;padding: 6px 16px;border-radius: 2px;background-color: rgba(0 0 0 / 0.2);diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.tsindex d79cf23b5b..7e2415a684 100644--- a/web/packages/gallery/components/viewer/photoswipe.ts+++ b/web/packages/gallery/components/viewer/photoswipe.ts@@ -624,7 +624,9 @@ export class FileViewerPhotoSwipe {pswp.ui.registerElement({name: "caption",- order: 50,+ // Arbitrary order towards the end (it doesn't matter anyways+ // since we're absolutely positioned).+ order: 30,appendTo: "root",tagName: "p",onInit: (captionElement, pswp) =>@@ -637,12 +639,10 @@ export class FileViewerPhotoSwipe {: "hidden";// Add extra offset for video captions so that they do// not overlap with the video controls. The constant is- // something that worked and looked okay-ish across- // Chrome, Safari and Firefox video players when I- // tested, but might need tweaking in the future.+ // an ad-hoc value that looked okay-ish across browsers.captionElement.style.bottom =file.metadata.fileType === FileType.video- ? "48px"+ ? "36px": "0";}),});