From c997cb4958d2bc34103fa32b0a1a72824c16bd94 Mon Sep 17 00:00:00 2001 From: Syncx <47534062+Syncxv@users.noreply.github.com> Date: Tue, 11 Apr 2023 08:38:37 +1000 Subject: ImageZoom: Fix not being able to close carousels on sides (#857) Co-authored-by: V --- src/plugins/imageZoom/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/imageZoom/styles.css b/src/plugins/imageZoom/styles.css index 103ac54..47e8a16 100644 --- a/src/plugins/imageZoom/styles.css +++ b/src/plugins/imageZoom/styles.css @@ -29,3 +29,10 @@ top: 50%; transform: translateY(-50%); } + +#magnify-modal { + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); +} -- cgit