view fastmail-smaller-remote-image-block-message.user.js @ 130:49658e99888a

[medium] update class name and use document level styling instead
author nanaya <me@nanaya.net>
date Sun, 26 Feb 2023 20:09:37 +0900
parents f3f646436567
children
line wrap: on
line source

// ==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
// @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/fastmail-smaller-remote-image-block-message.user.js
// ==/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;
  }
`);