# HG changeset patch # User nanaya # Date 1673938118 -32400 # Node ID 34657b8835e2d267081bbe466dd68ca80ae75db5 # Parent 8de2d53a4cb189db92860e9cd2b4dca76b6cbe64 Add script to adjust fastmail remote image message diff -r 8de2d53a4cb1 -r 34657b8835e2 fastmail-smaller-remote-image-block-message.user.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fastmail-smaller-remote-image-block-message.user.js Tue Jan 17 15:48:38 2023 +0900 @@ -0,0 +1,26 @@ +// ==UserScript== +// @name fastmail smaller remote image block message +// @namespace https://nanaya.net +// @match https://app.fastmail.com/* +// @grant GM_addStyle +// @version 1.0.0 +// @author nanaya +// @description less distracting message +// ==/UserScript== + +'use strict'; + +/* global GM_addStyle */ +GM_addStyle(` + .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 { + padding: 5px 12px; + } + + .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 button { + height: auto; + } + + .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 h3 { + font-weight: normal; + } +`);