Created
February 5, 2014 18:43
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#jump_page { | |
height: 100%; | |
overflow: scroll; | |
} | |
#jump_wrapper { | |
height: 100%; | |
} |
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
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.