Open alexgibson opened 4 days ago
This is also an issue when the pencil banner is shown:
I haven't taken an in-depth look here, but it seems like the menu might need changing from position:fixed
(which is always relative to the window) to position: absolute
instead, so it can be positioned relative to the nav element.
Description
When content appears above the navigation, for example the cookie banner on some screen sizes - opening a menu results in it being aligned incorrectly.
Steps to reproduce
Next, hover over a navigation menu item.
Expected result
The navigation menu should be anchored to the navigation element.
Actual result
The menu is incorrectly anchored at an arbitrary height.
Environment
Chrome macOS