Created
June 23, 2020 17:41
-
-
Save philwebb/903ac9efa014293a2563b4ffb69e2a90 to your computer and use it in GitHub Desktop.
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
// ==UserScript== | |
// @name github-style | |
// @namespace http://springsource.org | |
// @description Adds manual merge commands to pull requests | |
// @include https://github.com/*/* | |
// @include http://github.com/*/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var navElememt = document.evaluate(".//*[contains(@class, 'UnderlineNav-body')]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
navElememt.setAttribute("style", "padding-right: 250px; margin-right: auto; margin-left: auto;"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks @philwebb! For anyone else who is interested here's the before:

and after:
