From d01b9cae4083d08ec1e071c52dbcabf7593cf74b Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 6 Mar 2022 19:52:24 +0000 Subject: [PATCH] fix: re-enable callouts --- src/context/intermediate/popovers/ImageViewer.module.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/context/intermediate/popovers/ImageViewer.module.scss b/src/context/intermediate/popovers/ImageViewer.module.scss index 51b8310b..a450d0a7 100644 --- a/src/context/intermediate/popovers/ImageViewer.module.scss +++ b/src/context/intermediate/popovers/ImageViewer.module.scss @@ -1,16 +1,20 @@ .viewer { display: flex; + overflow: hidden; flex-direction: column; border-end-end-radius: 4px; border-end-start-radius: 4px; - overflow: hidden; + + max-width: 100vw; img { width: auto; height: auto; max-width: 90vw; max-height: 75vh; - border-bottom: thin solid var(--tertiary-foreground); object-fit: contain; + border-bottom: thin solid var(--tertiary-foreground); + + -webkit-touch-callout: default; } }