mozilla / bedrock

Making mozilla.org awesome, one pebble at a time
https://www.mozilla.org
Mozilla Public License 2.0
1.18k stars 913 forks source link

[m24] Navigation styling breaks when old nav CSS is removed from base bundle #15196

Open alexgibson opened 1 week ago

alexgibson commented 1 week ago

Description

The CSS for the new navigation is overriding the stylesheet for the older navigation, so when we remove the old styles the new styles break:

image

Steps to reproduce

Comment out these two lines: https://github.com/mozilla/bedrock/blob/main/media/css/protocol/protocol-mozilla-2024.scss#L32-L33

Expected result

Both the new navigation and footer should display as expected.

Actual result

The footer seems OK, but the new navigation breaks since it relies on existing styles in the old navigation stylesheet.

Environment

N/A