Tiny Media Library Grid Thumbnails

Created on 30 August 2024, 3 months ago

Problem/Motivation

Mercury Editor adds some custom styles which make the thumbnails take up a fraction of the container. ME treats the view as a CSS Grid where Claro expects to use Flex

Steps to reproduce

Using Claro as the administration theme and latest version of Mercury Editor (though this bug has existed previously).
Edit a node using mercury editor with a media library field.

Proposed resolution

Removing:

mercury-dialog .media-library-views-form__rows {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

From mercury_editor/build/css/overrides/claro/media-library.css seems to do the trick

πŸ› Bug report
Status

Active

Version

2.1

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States sbubaron

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024