Last active
May 15, 2019 13:35
-
-
Save brrd/979482e90645f53bf1afffbb8c1aeee8 to your computer and use it in GitHub Desktop.
gmail-img-max-width.user.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name gmail-img-max-width | |
// @namespace http://brrd.fr | |
// @version 0.1 | |
// @description Fix image max width in gmail | |
// @author brrd | |
// @match https://mail.google.com/mail/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
GM_addStyle ( ` | |
img[src^="https://mail.google.com/mail/u"] { | |
max-width: 100%; | |
} | |
` ); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment