brand
brand copied to clipboard
🐛 [BUG] - Subnav layout shift
Describe the bug
The forward slash / and subnav items shift when the page loads. On localhost, sometimes they get stuck below the headline. I've only been able to reproduce this in Safari.
https://github.com/user-attachments/assets/9c5fe7b5-fc1c-4526-9a9e-0945a472ffc4
Reproduction steps
1. Go to https://github.com/features/copilot
2. Reload the page.
3. See layout shift in Subnav at the top.
Expected behavior
1. Go to https://github.com/features/copilot
2. Subnav loads without layout shift.
Screenshots
Browsers
Safari
OS
Mac