Created
November 5, 2019 10:13
-
-
Save ro-tex/f054b9ce124125d5dcd9ec6ea02f49fa to your computer and use it in GitHub Desktop.
Wide github.com
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
// ==UserScript== | |
// @name Wide github.com | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description make github.com 100% wide | |
// @author Ivaylo Novakov | |
// @match https://github.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let containers = document.getElementsByClassName('container-lg'); | |
for(let i=0; i < containers.length; i++) { | |
containers[i].style.maxWidth = '100%'; | |
} | |
let columns = document.getElementsByClassName('col-9'); | |
for(let i=0; i < columns.length; i++) { | |
columns[i].style.width = '80%'; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment