diff --git a/_config.yml b/_config.yml index 582b8ddcd718..815d67f333cc 100644 --- a/_config.yml +++ b/_config.yml @@ -371,5 +371,5 @@ mdb: css: "sha256-jpjYvU3G3N6nrrBwXJoVEYI/0zw8htfFnhT9ljN3JJw=" js: "sha256-NdbiivsvWt7VYCt6hYNT3h/th9vSTL4EDWeGs5SN3DA=" medium_zoom: - version: "1.0.6" + version: "1.0.8" integrity: "sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM=" diff --git a/assets/js/zoom.js b/assets/js/zoom.js index c8610d6118dd..8f81bfaa3dc1 100644 --- a/assets/js/zoom.js +++ b/assets/js/zoom.js @@ -1,7 +1,6 @@ // Initialize medium zoom. $(document).ready(function() { medium_zoom = mediumZoom('[data-zoomable]', { - margin: 100, background: getComputedStyle(document.documentElement) .getPropertyValue('--global-bg-color') + 'ee', // + 'ee' for trasparency. })