Asset library order breaks styling

Created on 5 March 2025, 1 day ago

Problem/Motivation

I built my own subtheme of Material MDC. A Drupal 10.4 update changes the order of CSS asset loading which leads to a different CSS rule application. For me it appeared that the submenu of the main navigation was no longer visible. I worked around it by defining library weights and thereby reordering theme.css and mdc.css.
The issue seems to occur for other projects too: https://www.drupal.org/project/bs_lib/issues/3490049 🐛 Wrong order of CSS assets after D10.4 update Active

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024