ffactory / Image height limit

// ==UserScript==
// @name         Image height limit
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Limit height of intercom images to not take up the whole screen.
// @author       You
// @match        https://app.intercom.com/a/apps/*/inbox/inbox/all/conversations/*
// @icon         https://www.google.com/s2/favicons?domain=intercom.com
// @grant        none
// @copyright    2021, ffactory (https://openuserjs.org/users/ffactory)
// @license      MIT
// @updateURL    https://openuserjs.org/meta/ffactory/Image_height_limit.meta.js
// @downloadURL  https://openuserjs.org/install/ffactory/Image_height_limit.user.js
// ==/UserScript==

(function() {
    'use strict';

    let style = document.createElement("style");
    style.innerHTML = ".conversation__text img { max-height: 50vh; width: auto }"
    document.body.appendChild(style);
})();