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

Scrollable area for the off-canvas element? #4

Closed
guuthemes opened this issue Oct 24, 2014 · 2 comments
Closed

Scrollable area for the off-canvas element? #4

guuthemes opened this issue Oct 24, 2014 · 2 comments

Comments

@guuthemes
Copy link

Firstly. Superb work man! This is truly my go to off-canvas nav now.

Quick Q - Testing out the demo on my iPhone, I noticed that with quite a few nav items, they are cut off on landscape mode. Is there an option to make the off-canvas (nav area) element scrollable?

Many thanks

@mac81
Copy link
Owner

mac81 commented Oct 24, 2014

Hi. Glad you like it!

You can add 'overflow-y: auto' to the '.pure-drawer'. That will make it scrollable when it's height is higher then the viewport.

@guuthemes
Copy link
Author

Of course. Thanks for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants