From 488c67d21627dc0781d4aff1d83ede8e50d56748 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Thu, 3 Aug 2023 14:29:08 -0700 Subject: [PATCH] viewer: fix positioning of popper Signed-off-by: Varun Patil --- src/components/viewer/Viewer.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/viewer/Viewer.vue b/src/components/viewer/Viewer.vue index 844a28ec..60f1b97a 100644 --- a/src/components/viewer/Viewer.vue +++ b/src/components/viewer/Viewer.vue @@ -1269,6 +1269,7 @@ export default defineComponent({ cursor: pointer; } } + .pswp__icn-shadow { display: none; } @@ -1279,5 +1280,13 @@ export default defineComponent({ opacity: 0 !important; } } + + // Prevent the popper from overlapping with the sidebar + > div > .v-popper__wrapper { + overflow: visible !important; + > .v-popper__inner { + transform: translateX(-20px); + } + } }