Open Ram-SR opened 6 years ago
I want ro add nano scroll on body element. But as per the docs, the structure should be <div class="nano"><div class="nano-content"></div></div>
<div class="nano"><div class="nano-content"></div></div>
then how to add nano scroll on body element?
I don't think that having nanoscroller on body element is supported, the library is meant to be used with div elements. You can of course try to see if it happens to work with body + a div element.
body
div
I want ro add nano scroll on body element. But as per the docs, the structure should be
<div class="nano"><div class="nano-content"></div></div>
then how to add nano scroll on body element?