Problem/Motivation

The off-canvas reset replacement added in #3375606: Drupal 10 compatibility, 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.

Comments

justcaldwell created an issue. See original summary.

  • justcaldwell committed 347b12c4 on 2.0.x
    Issue #3377214 by justcaldwell: Fix off-canvas reset replacement...
justcaldwell’s picture

Assigned: justcaldwell » Unassigned
Status: Active » Fixed
justcaldwell’s picture

Title: Fix off-canvas reset replacement » Drupal 10 off-canvas styles are broken

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.