Skip to content

Commit d45191e

Browse files
rohandebsarkarpecey
authored andcommitted
Fix medium zoom on small devices (alshedivat#1084)
fixes alshedivat#1006
1 parent ce09203 commit d45191e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,5 +350,5 @@ mdb:
350350
css: "sha256-jpjYvU3G3N6nrrBwXJoVEYI/0zw8htfFnhT9ljN3JJw="
351351
js: "sha256-NdbiivsvWt7VYCt6hYNT3h/th9vSTL4EDWeGs5SN3DA="
352352
medium_zoom:
353-
version: "1.0.6"
353+
version: "1.0.8"
354354
integrity: "sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM="

assets/js/zoom.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Initialize medium zoom.
22
$(document).ready(function() {
33
medium_zoom = mediumZoom('[data-zoomable]', {
4-
margin: 100,
54
background: getComputedStyle(document.documentElement)
65
.getPropertyValue('--global-bg-color') + 'ee', // + 'ee' for trasparency.
76
})

0 commit comments

Comments
 (0)