Created
October 17, 2012 06:55
-
-
Save harshithjvmi/3904099 to your computer and use it in GitHub Desktop.
Github code view expander
This file contains hidden or 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
$("#js-repo-pjax-container, .frames > .frame-center").width($(document.body).width()-20); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this code in your browser's JavaScript console prompt for the github repo pages while viewing the code. When you run this code the code-view expands to the current available width of the browser window. Will come in handy when looking into lengthy code. Will work until the html element's id or class names are intact (as mentioned in the above jquery function's css-selector string) on github.com.