Skip to content

Instantly share code, notes, and snippets.

@naganowl
Created February 5, 2014 18:43
Show Gist options
  • Save naganowl/8830345 to your computer and use it in GitHub Desktop.
Save naganowl/8830345 to your computer and use it in GitHub Desktop.
Quick and dirty way to make 'Jump To' menu scrollable for projects with many files. (See https://github.com/jashkenas/docco/blob/master/resources/parallel/docco.css)
#jump_page {
height: 100%;
overflow: scroll;
}
#jump_wrapper {
height: 100%;
}
@naganowl
Copy link
Author

naganowl commented Feb 5, 2014

Problem is that this will always make the menu take up the full page which is not ideal. There will probably be some JS required in order to try and be intelligent on when this should be done.

Adding a reasonable max-height value would probably be a decent stop gap.

@naganowl
Copy link
Author

naganowl commented Feb 5, 2014

The following are some attempts to solve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment