Skip to content

Instantly share code, notes, and snippets.

@pmdevita
Created May 2, 2025 15:52
Show Gist options
  • Save pmdevita/87a61f5847b3d8c1060569db4cd769d2 to your computer and use it in GitHub Desktop.
Save pmdevita/87a61f5847b3d8c1060569db4cd769d2 to your computer and use it in GitHub Desktop.
Show Sendgrid Padding Values
// ==UserScript==
// @name Show Sendgrid Padding Values
// @namespace Violentmonkey Scripts
// @match https://mc.sendgrid.com/dynamic-templates/*
// @grant none
// @version 1.0
// @author -
// @description 5/2/2025, 11:42:21 AM
// ==/UserScript==
let styles = document.createElement("style");
styles.type = 'text/css';
let head = document.getElementsByTagName('head')[0];
head.appendChild(styles);
styles.innerHTML = ".has-space-top input, .has-space-right input, .has-space-left input, .has-space-bottom input { padding: 0 !important; margin: 20px 0px 0px -18px !important; }";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment