fix: ImageZoom + PiP (#1894)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Hugo C 2023-10-26 02:17:31 +02:00 committed by GitHub
parent ffe6bb1c5d
commit 8ac8048845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -25,12 +25,6 @@
box-shadow: none;
}
[class*="modalCarouselWrapper"] {
height: fit-content;
top: 50%;
transform: translateY(-50%);
}
[class|="wrapper"]:has(> #vc-imgzoom-magnify-modal) {
position: absolute;
left: 50%;

View File

@ -28,7 +28,7 @@ export default definePlugin({
{
find: ".nonMediaAttachment]",
replacement: {
match: /\.nonMediaAttachment\].{0,10}children:\[\S{3}/,
match: /\.nonMediaAttachment\].{0,10}children:\[\S/,
replace: "$&&&$self.renderPiPButton(),"
},
},