Skip to content

Instantly share code, notes, and snippets.

@NeilHanlon
Created August 29, 2024 16:41
Show Gist options
  • Save NeilHanlon/ca92d4390d32b7d4d938840a2f1bc861 to your computer and use it in GitHub Desktop.
Save NeilHanlon/ca92d4390d32b7d4d938840a2f1bc861 to your computer and use it in GitHub Desktop.
wide issues.redhat.com
// ==UserScript==
// @name Wide JIRA
// @description Widen your create issue box in JIRA
// @author Fishswing
// @namespace https://greasyfork.org/users/206706
// @license MIT
// @version 0.0.3
// @grant GM_addStyle
// @run-at document-start
// @include https://issues.redhat.com*
// ==/UserScript==
(function() {
let css = `
.aui-dialog2-large {
width: 80% !important;
top: 3% !important;
bottom: 3% !important;
}
.aui-dialog2-content {
max-height: 100% !important;
}
.aui-page-panel {
width: 80% !important;
}
.aui-page-header {
width: 80% !important;
}
`;
if (typeof GM_addStyle !== "undefined") {
GM_addStyle(css);
} else {
let styleNode = document.createElement("style");
styleNode.appendChild(document.createTextNode(css));
(document.querySelector("head") || document.documentElement).appendChild(styleNode);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment