From f47837f550e7e18625295afc2e22a810e062f3a7 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 18 Feb 2025 11:21:34 +0530 Subject: [PATCH] fin visually --- web/apps/photos/src/styles/global.css | 3 +-- web/packages/gallery/components/viewer/icons.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/web/apps/photos/src/styles/global.css b/web/apps/photos/src/styles/global.css index fabcbda6d1..b2dc418309 100644 --- a/web/apps/photos/src/styles/global.css +++ b/web/apps/photos/src/styles/global.css @@ -147,10 +147,9 @@ body { overflow: hidden; width: 50px; height: 60px; - margin-right: auto; /* "visibility" is used to toggle visibility, opacity is fixed to be similar to that of the loading indicator when it is visible. */ - opacity: 0.6; + opacity: 0.5; } .pswp-ente .pswp__error .pswp__icn { diff --git a/web/packages/gallery/components/viewer/icons.tsx b/web/packages/gallery/components/viewer/icons.tsx index 8b6ef33b5f..a021afb96c 100644 --- a/web/packages/gallery/components/viewer/icons.tsx +++ b/web/packages/gallery/components/viewer/icons.tsx @@ -17,9 +17,10 @@ const paths = { // "@mui/icons-material/InfoOutlined" - info: ' ({ isCustomSVG: true, - // TODO(PS): This transform is temporary, audit later. - inner: `${paths[name]} transform="translate(3.5, 3.5)" id="pswp__icn-${name}"`, + inner: `${paths[name]} id="pswp__icn-${name}"`, outlineID: `pswp__icn-${name}`, });