Toolbar active tab background is always white on Drupal 10.3

Created on 24 June 2024, 5 months ago
Updated 15 July 2024, 5 months ago

Problem/Motivation

After updating a site to Drupal 10.3, the active tab on our production environment has turned white-on-white. On dev, where the text colour is black, the active tab text *is* readable as black on white. The other tabs remain the configured colour for their environment.

This seems to be courtesy of .toolbar .toolbar-bar .toolbar-tab > .toolbar-item.is-active { in toolbar.theme.css in core.

Steps to reproduce

Configure colours for the environment on Drupal 10.2. See the active tab background be the configured colour. Update to Drupal 10.3.0. See the active tab background is now white.

Proposed resolution

Add an override to the css so that the active tab goes back to the colour that was configured in env indicator.

Remaining tasks

Pretty much all the work.

User interface changes

Ideally none.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

4.0

Component

User interface

Created by

🇦🇺Australia cafuego

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

Comments & Activities

Production build 0.71.5 2024