Skip to content

Instantly share code, notes, and snippets.

@pracucci
Created October 24, 2018 07:41
Show Gist options
  • Save pracucci/7ba56cdb4b74c1818cfa43775fdf929e to your computer and use it in GitHub Desktop.
Save pracucci/7ba56cdb4b74c1818cfa43775fdf929e to your computer and use it in GitHub Desktop.
Bookmarklet to switch GitHub PR Files page width to 100%
javascript:(function()%7B%20var%20container%20%3D%20document.getElementsByClassName(%22new-discussion-timeline%22)%5B0%5D%3B%20if%20(container)%20%7B%20container.style.cssText%20%3D%20%22width%3A%20auto%3B%20margin-left%3A%2020px%3B%20margin-right%3A%2020px%22%3B%20%7D%7D)()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment