Media library grid item label sticks out, media alignment should adhere to positioning standards

Created on 1 February 2023, over 1 year ago
Updated 26 June 2024, about 2 hours ago

Issue summary updated as of comment #14

Problem/Motivation

  1. In Claros's media-grid the item's name sticks out of its expected place if the name of the media is shorter than width of the individual grid block. It exceeds both on the top and the bottom of the name space.
  2. Also, the uploaded media does not adhere to the standardised design, and floats above the media name space instead of being stuck to it.

Steps to reproduce

  1. Enable Media and Media Library modules.
  2. Goto /admin/content/media-grid
  3. Add media with short filename

Proposed resolution

  1. .media-library-item__attributes should be shrunk to address the media name space bleeding into either ends of the Y axis.
  2. Media element should be aligned to the top of its name space.

BEFORE patch

AFTER patch

๐Ÿ› Bug report
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Claroย  โ†’

Last updated about 1 hour ago

Created by

๐Ÿ‡ญ๐Ÿ‡บHungary Zsuffa Dรกvid

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024