aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSyncx <47534062+Syncxv@users.noreply.github.com>2023-04-11 08:38:37 +1000
committerGitHub <noreply@github.com>2023-04-10 22:38:37 +0000
commitc997cb4958d2bc34103fa32b0a1a72824c16bd94 (patch)
tree240a0792b4068b2cfc70e7059d10590162ae1450 /src/plugins
parent83dab24fb910977bfe743ba4a5d178505c22ad08 (diff)
downloadVencord-c997cb4958d2bc34103fa32b0a1a72824c16bd94.tar.gz
Vencord-c997cb4958d2bc34103fa32b0a1a72824c16bd94.tar.bz2
Vencord-c997cb4958d2bc34103fa32b0a1a72824c16bd94.zip
ImageZoom: Fix not being able to close carousels on sides (#857)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/imageZoom/styles.css7
1 files changed, 7 insertions, 0 deletions
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%);
+}