[Drupal 10.2 regression] Media Library "widget" View media type tabs have lost styling

Created on 13 October 2023, 8 months ago
Updated 26 March 2024, 2 months ago

Problem/Motivation

The sidebar in the Add or select Media Library widget is missing the proper styling in 10.2.x-dev and 11.x-dev:

In 10.1.x the styling looks correct:

Steps to reproduce

1. Add a media field to a content type.
2. Add two or more media types as reference type for the added media field.
3. Create a node for that content type
4. Attempt to attach a media item to the field.
5. The Media Library "widget" View will display. The left sidebar, showing the available media types, does not display the previous horizontal separators.

Proposed resolution

Restore vertical tabs CSS custom properties to core/themes/claro/css/base/variables.pcss.css from core/themes/claro/css/components/vertical-tabs.pcss.css. Add comments documenting that the propertiers are used by both vertical tabs and media library. See #8 ๐Ÿ› [Drupal 10.2 regression] Media Library "widget" View media type tabs have lost styling RTBC

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Fixed

Version

10.2 โœจ

Component
Claroย  โ†’

Last updated 1 day ago

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany rkoller Nรผrnberg, Germany

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024