yari
yari copied to clipboard
Broken page layout when page not found
Summary
The page's layout is broken.
URL
https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker
Reproduction steps
- Go to https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker
Expected behavior
The page layout should look good.
Actual behavior
Broken layout
Device
Desktop
Browser
Chrome
Browser version
Stable
Operating system
Mac OS
Screenshot

Anything else?
No response
Validations
- [X] I have read the Community Participation Guidelines.
- [X] I have verified that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] I have checked that this is a concrete bug. For Q&A open a GitHub Discussion.
This will be fixed by https://github.com/mdn/yari/pull/7070.
PS: Here is the code location that returns the LoadingError without other elements like TopNavigation:
https://github.com/mdn/yari/blob/5c0fe01141754f17605929d63ef988489c1c43a8/client/src/document/index.tsx#L175-L177