Skip to content

Instantly share code, notes, and snippets.

@josecanciani
Last active April 19, 2022 14:26
Show Gist options
  • Save josecanciani/0eafba4ed7ed3fb070ceb85fff45ed45 to your computer and use it in GitHub Desktop.
Save josecanciani/0eafba4ed7ed3fb070ceb85fff45ed45 to your computer and use it in GitHub Desktop.
Avature Custom Styles
// ==UserScript==
// @name Avature custom styles
// @namespace https://github.com/josecanciani
// @match https://*.avature.net/*
// @match https://obdbqa*.obfuscate.xcade.dev/*
// @match https://qa*.rebuild.xcade.dev/*
// @version 5
// @author Jose Luis Canciani
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @description This script applies some style changes in Avature webpages.
// @grant GM_addStyle
// ==/UserScript==
(function() {
// Make sidebar menu items's title to show without wrapping
GM_addStyle('.crmui_sidebar_item_ItemBase { white-space: normal; }');
GM_addStyle('.crmui_sidebar_item_ItemBase { padding: 0.2rem 0.7rem 0.2rem 0.3rem; }');
GM_addStyle('.crmui_sidebar_item_Icon { margin-right: 0.2rem; }');
})(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment