diff options
Diffstat (limited to 'src/plugins/imageZoom/styles.css')
-rw-r--r-- | src/plugins/imageZoom/styles.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/imageZoom/styles.css b/src/plugins/imageZoom/styles.css index 219bf6b..026eb5a 100644 --- a/src/plugins/imageZoom/styles.css +++ b/src/plugins/imageZoom/styles.css @@ -11,6 +11,10 @@ pointer-events: none; } +.vc-imgzoom-lens.nearest-neighbor > img { + image-rendering: pixelated; /* https://googlechrome.github.io/samples/image-rendering-pixelated/index.html */ +} + /* make the carousel take up less space so we can click the backdrop and exit out of it */ [class|="carouselModal"] { height: fit-content; |