Problem/Motivation

In core/modules/navigation/css/components/admin-toolbar-control-bar.css,
the custom property is redefined with a single leading dash:

--admin-toolbar-top-bar-height: var(-admin-toolbar-space-64);

It should be var(--admin-toolbar-space-64). The value is invalid at
computed-value time. Chrome falls back silently, but Firefox resolves the property
to an empty value: the top bar (node title, "Published" badge) then overlaps the
top of the page header on node pages.

Present in 11.4.13 (line 8) and still in the 11.x and main branches (line 9).

Steps to reproduce

  1. Enable the Navigation module.
  2. Open a node page as an administrator in Firefox.
  3. The top bar overlaps the page header (not reproducible in Chrome).

Proposed resolution

Add the missing dash: var(--admin-toolbar-space-64).

Remaining tasks

Merge request.

Comments

brihx created an issue.