Last active
August 24, 2016 14:49
-
-
Save jeffarese/0afac6135c2993f4320aeedf88701615 to your computer and use it in GitHub Desktop.
FHD & QHD width on Github pull requests
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
javascript:(function(){ var style = document.createElement(%27style%27), styleContent = document.createTextNode(%27.container { width: 1600px !important; } .timeline-comment-wrapper { width: 1380px !important; } .comment-holder{ max-width: none !important;} .discussion-item { width: 1300px !important; }%27); style.appendChild(styleContent ); var caput = document.getElementsByTagName(%27head%27); caput[0].appendChild(style); })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use it
Just drag the RAW code to your bookmark bar and click it when viewing a pull request.
What it does
This snippet increases the width on Github Pull Request pages so it uses better the size of FHD (1920x1080px) & QHD (2560x1440px) screens.
Example with QHD screen:
Before
After