Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive Header Size #11121

Open
3 tasks done
DanielHerr opened this issue May 13, 2024 · 2 comments
Open
3 tasks done

Excessive Header Size #11121

DanielHerr opened this issue May 13, 2024 · 2 comments
Labels
🐛 bug Something isn't working, or isn't working as expected effort: small This task is a small effort. involves: UX Requires the attention of the UX team. layout Issues related to alignment, positioning and spacing/margin/padding Responsiveness

Comments

@DanielHerr
Copy link

DanielHerr commented May 13, 2024

Summary

In many cases, the size of the header is excessive, taking up a third of the body size.

URL

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/super

Reproduction steps

  1. View a page on MDN

Expected behavior

A minimal header footprint or one which isn't stickied as the page is scrolled down unless using large screens on desktop monitors.

Actual behavior

The header is present on phones and laptops and takes up too much space when trying to read content.

Device

Laptop, Phone

Browser

Chrome

Browser version

Stable

Operating system

Android, Chrome OS

Screenshot

image

image

image

Anything else?

https://github.com/orgs/mdn/discussions/680

Validations

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 13, 2024
@mirunacurtean mirunacurtean added 🐛 bug Something isn't working, or isn't working as expected involves: UX Requires the attention of the UX team. layout Issues related to alignment, positioning and spacing/margin/padding effort: small This task is a small effort. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels May 14, 2024
@mirunacurtean
Copy link

mirunacurtean commented May 14, 2024

I have managed to reproduce on Windows with Chrome on a 1084 × 722 , 996 × 722 to 895 × 722 browser viewport.

header.viewport.breakpoint.mov

@DanielHerr Thank you for raising an issue on MDN. Could you use https://whatismyviewport.com/ or a similar site to provide the viewport you are seeing this issue on mobile?

@DanielHerr
Copy link
Author

Laptop: 1200 × 665
DPR: 2.00
Screen Size: 1200 × 800

Phone: 353 × 597
DPR: 3.06
Screen Size: 353 × 725

Regardless of the breakpoint related laptop issue, the header in general just takes up space while reading articles, so I would prefer if it was not sticky positioned or if the user had the option to control such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working, or isn't working as expected effort: small This task is a small effort. involves: UX Requires the attention of the UX team. layout Issues related to alignment, positioning and spacing/margin/padding Responsiveness
Projects
None yet
Development

No branches or pull requests

2 participants