The plugin adds zoom:1 to every page's <body>
disinfeqt opened this issue · 1 comments
disinfeqt commented
It's works fine on most sites, but it prevents the "responsive zoom" from working, like Rasmus' http://rsms.me
Hope you can fix this, thanks.
starzonmyarmz commented
I'm pretty sure jQuery adds the zoom:1 to the body element. Not really anything the author can do about that other than not include loading jQuery - which is kind of a major feature of dotjs.
I suppose you could counteract this in ~/.js/default.js
by doing:
$('body').css('zoom', '');
or if you prefer not to use jQuery:
document.querySelector('body').style.zoom = "";