Background of 'Display options' on gin_lb classic toolbar

Created on 2 April 2025, 6 days ago

Problem/Motivation

As part of the gin_lb module, when the classic toolbar is choosen, the background of the 'Display options' as pictured forcably gets it background set from the JS script.
eg

<div class="toolbar-icon trigger toolbar-item" id="toolbar-item-display-options" data-toolbar-tray="toolbar-item-shortcuts-tray" role="button" style="background-color: rgb(0, 80, 147);">Display options

Steps to reproduce

Install vanilla Drupal 11.x install
Install and enable gin_lb:^2.0.x
Install and enable environmental_indicator
Select gin as your admin theme, active etc
Select the classic toolbar for navigation
Configure Environment Indicator so the colors are being applied.
Background of the "display options" is now the same as configured in the Environmental Indicator

Proposed resolution

Change class selector in JS so it does not include this selector.

Remaining tasks

Test?

User interface changes

No background for the "Display options" anymore.

🐛 Bug report
Status

Active

Version

4.0

Component

User interface

Created by

🇳🇿New Zealand atowl

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

Comments & Activities

Production build 0.71.5 2024