Last active
November 7, 2019 13:08
-
-
Save goooseman/11462a1dc7c12fd8e39ef497d0fdecd0 to your computer and use it in GitHub Desktop.
GreaseMonkey / Makes environment variables wider in GitLab CI
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 GitLab Wider Env | |
| // @description Makes environment variables inputs wider in GitLab's CI/CD settings (https://gitlab.com/*/settings/ci_cd) | |
| // @version 1 | |
| // @match https://gitlab.com/*/ci_cd | |
| // @grant none | |
| // ==/UserScript== | |
| for (const el of document.querySelectorAll(".container-fluid.container-limited.limit-container-width")) { | |
| el.style["max-width"] = "unset" | |
| } | |
| for (const el of document.querySelectorAll(".js-ci-variable-input-key")) { | |
| el.style["max-width"] = "unset" | |
| el.style["flex-basis"] = "400px" | |
| } | |
| for (const el of document.querySelectorAll(".js-ci-variable-input-key + .ci-variable-body-item")) { | |
| el.style["max-width"] = "unset" | |
| el.style["flex-basis"] = "400px" | |
| } | |
| for (const el of document.querySelectorAll(".js-ci-variable-input-value")) { | |
| el.style["min-height"] = "120px" | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment