diff --git a/src/components/Viewer.vue b/src/components/Viewer.vue index aee50d8e..c554bb85 100644 --- a/src/components/Viewer.vue +++ b/src/components/Viewer.vue @@ -1105,10 +1105,12 @@ export default class Viewer extends Mixins(GlobalMixin) { .pswp__zoom-wrap { width: 100%; + will-change: transform; } img.pswp__img { object-fit: contain; + will-change: width, height; } .pswp__button {