Better LetterLoop issue image display

Prevent image cropping and adjust display of multiple images to show them side by side.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        Better LetterLoop issue image display
// @license MIT
// @namespace   Violentmonkey Scripts
// @icon        https://app.letterloop.co/icon.svg?icon.b5e44ce4.svg
// @version     1.0.0
//
// @match       https://app.letterloop.co/issue/*
// @grant       GM_addStyle
//
// @author      Christopher Dabrowski
// @description Prevent image cropping and adjust display of multiple images to show them side by side.
// ==/UserScript==

GM_addStyle(`
.chakra-stack[role="group"]:has(>.chakra-stack .chakra-image) {
  > .chakra-stack {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;

    div {
      background: none;
      width: auto;
    }

    .chakra-image {
      object-fit: contain;
      background: none;
    }
  }
}
`)