Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


The plugin adds zoom:1 to every page's <body> #96

disinfeqt opened this Issue · 1 comment

2 participants

Xiao Du Daniel Marino
Xiao Du

It's works fine on most sites, but it prevents the "responsive zoom" from working, like Rasmus'
Hope you can fix this, thanks.

Daniel Marino

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 = "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.