ImageZoom: negate the border offsetting the lens (#2117)

Co-authored-by: Lewis Crichton <lewi@lewisakura.moe>
This commit is contained in:
Sqaaakoi 2024-02-26 12:51:09 +13:00 committed by GitHub
parent 2d8715adf0
commit 414184ef25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,9 @@
box-shadow: inset 0 0 10px 2px grey; box-shadow: inset 0 0 10px 2px grey;
filter: drop-shadow(0 0 2px grey); filter: drop-shadow(0 0 2px grey);
pointer-events: none; pointer-events: none;
/* negate the border offsetting the lens */
margin: -2px;
} }
.vc-imgzoom-square { .vc-imgzoom-square {