Last active
September 25, 2023 08:43
-
-
Save fffonion/4f7bd4511ca1b6798ec422ae37fd5376 to your computer and use it in GitHub Desktop.
github-widescreen.user.js
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 Github Widescreen Fix | |
// @namespace http://tampermonkey.net/ | |
// @updateURL https://gist.github.com/fffonion/4f7bd4511ca1b6798ec422ae37fd5376/raw/github-widescreen.user.js | |
// @downloadURL https://gist.github.com/fffonion/4f7bd4511ca1b6798ec422ae37fd5376/raw/github-widescreen.user.js | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author You | |
// @match https://github.com/*/*/actions/runs/*/job/* | |
// @match https://github.com/*/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// @grant GM_addStyle | |
// ==/UserScript== | |
GM_addStyle(` | |
@media (min-width: 1600px) { | |
.PageLayout.PageLayout--paneWidth-wide { | |
--Layout-pane-width: 500px; | |
} | |
.container-xl { | |
max-width: calc(100vw - 480px); | |
} | |
} | |
@media (min-width: 1440px) { | |
.PageLayout.PageLayout--paneWidth-wide { | |
--Layout-pane-width: 400px; | |
} | |
} | |
`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment