alphagov / tech-docs-gem

Gem to distribute the tech docs project
https://tdt-documentation.london.cloudapps.digital/
MIT License
15 stars 38 forks source link

Header's mobile menu button briefly flashes over menu items #336

Open romaricpascal opened 10 months ago

romaricpascal commented 10 months ago

What should change

If you have links in the header, the mobile menu button will briefly flash on wide viewports, appearing overlaid on top of the links. It should be kept hidden on wide viewports at all time.

This can be witnessed on the Tech Docs Gem docs or GOV.UK Developer docs. The following screenshot captures the overlay, noticeable in the top right corner with the text overlap and the down arrow which shouldn't be visible. (apologies in poor quality, it's been extracted from Chrome's devtools performance recording)

menu-button-overlayed-over-menu-items