Skip to content

Instantly share code, notes, and snippets.

@ngenator
Last active August 13, 2019 15:49
Show Gist options
  • Save ngenator/7b68fff111d1975a71e1403f4fb12024 to your computer and use it in GitHub Desktop.
Save ngenator/7b68fff111d1975a71e1403f4fb12024 to your computer and use it in GitHub Desktop.
Removes width constraints on github elements
// ==UserScript==
// @name Wide Github
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Removes width constraints on github elements
// @author Ngenator
// @updateURL https://gist.github.com/ngenator/7b68fff111d1975a71e1403f4fb12024/raw/github.user.js
// @include https://github.com/*
// @include https://gist.github.com/*
// @grant GM_addStyle
// ==/UserScript==
(function() {
'use strict';
GM_addStyle('.container { padding-left: 20px; padding-right: 20px; width: initial; }');
GM_addStyle('.container-lg { max-width: initial; }');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment