Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS should be more specific #208

Closed
alexandreneves opened this issue Jan 9, 2014 · 1 comment
Closed

CSS should be more specific #208

alexandreneves opened this issue Jan 9, 2014 · 1 comment
Assignees
Milestone

Comments

@alexandreneves
Copy link

".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
Copy link
Collaborator

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

adam101 pushed a commit to adam101/nanoScrollerJS that referenced this issue Jan 30, 2014
kristerkari pushed a commit that referenced this issue Jan 30, 2014
Add prefix to css class names (fix #146, #208)
@kristerkari kristerkari self-assigned this Feb 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants