ImageZoom: negate the border offsetting the lens (#2117)
Co-authored-by: Lewis Crichton <lewi@lewisakura.moe>
This commit is contained in:
parent
2d8715adf0
commit
414184ef25
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue