Skip to content

Instantly share code, notes, and snippets.

@jeffarese
Last active August 24, 2016 14:49
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffarese/0afac6135c2993f4320aeedf88701615 to your computer and use it in GitHub Desktop.
Save jeffarese/0afac6135c2993f4320aeedf88701615 to your computer and use it in GitHub Desktop.
FHD & QHD width on Github pull requests
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); })();
@jeffarese
Copy link
Author

jeffarese commented Aug 24, 2016

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

pr1

After

pr2

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