diff options
author | Syncx <47534062+Syncxv@users.noreply.github.com> | 2023-04-11 08:38:37 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 22:38:37 +0000 |
commit | c997cb4958d2bc34103fa32b0a1a72824c16bd94 (patch) | |
tree | 240a0792b4068b2cfc70e7059d10590162ae1450 /src/plugins/imageZoom | |
parent | 83dab24fb910977bfe743ba4a5d178505c22ad08 (diff) | |
download | Vencord-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/imageZoom')
-rw-r--r-- | src/plugins/imageZoom/styles.css | 7 |
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%); +} |