Drupal 10 off-canvas styles are broken

Created on 26 July 2023, over 1 year ago

Problem/Motivation

The off-canvas reset replacement added in πŸ“Œ Drupal 10 compatibility Fixed , style_selector_library_info_alter() is too aggressive in that it removes the reset entirely and only provides a replacement when style_selector elements are rendered.

Steps to reproduce

View the off-canvas sidebar or settings tray when a style_selector element is not present. The styles are broken.

Proposed resolution

Implement hook_css_alter() to replace the core file path with the path to the style_selector file.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States justcaldwell Austin, Texas

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

Comments & Activities

Production build 0.71.5 2024