jamesflorentino / nanoScrollerJS

A jQuery plugin that offers a simplistic way of implementing Lion OS scrollbars.
http://jamesflorentino.github.com/nanoScrollerJS/
MIT License
2.69k stars 502 forks source link

CSS should be more specific #208

Closed alexandreneves closed 10 years ago

alexandreneves commented 10 years ago

".content" should be "> .content" to avoid affecting other .content classes on .nano .content child elements.

.nano > .content { ... } .nano > .content:focus { ... } .nano > .content::-webkit-scrollbar { ... } .has-scrollbar > .content::-webkit-scrollbar { ... }

kristerkari commented 10 years ago

Thanks! yes, it might be a good idea to use direct child selector for .content too.