diff --git a/src/plugins/imageZoom/styles.css b/src/plugins/imageZoom/styles.css index 9d586788..09c3c858 100644 --- a/src/plugins/imageZoom/styles.css +++ b/src/plugins/imageZoom/styles.css @@ -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%; diff --git a/src/plugins/pictureInPicture/index.tsx b/src/plugins/pictureInPicture/index.tsx index f5f0a512..dc6ddb0b 100644 --- a/src/plugins/pictureInPicture/index.tsx +++ b/src/plugins/pictureInPicture/index.tsx @@ -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()," }, },