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

Make sidebar collapsible on medium-sized screens #5421

Open
3 of 11 tasks
ahelwer opened this issue Mar 2, 2022 · 4 comments
Open
3 of 11 tasks

Make sidebar collapsible on medium-sized screens #5421

ahelwer opened this issue Mar 2, 2022 · 4 comments
Labels
🌱 feature-request new feature request or enhancements to existing features idle p2 We want to address this but may have other higher priority items. redesign issues related to the new design sidebar/toc Sidebar and table of contents

Comments

@ahelwer
Copy link

ahelwer commented Mar 2, 2022

Summary

I have a monitor in portrait (vertical) orientation, which is very useful for reading documentation websites such as MDN. However, this means horizontal space is at a premium. With the new MDN design about a third of the horizontal space is taken up by the navigation sidebar + padding:

image

Contrast with the old design (from archive.org):

image

Many documentation websites & themes provide the ability to collapse the navigation sidebar for this reason. It would be nice if MDN did the same.

Where did you spot the bug?

All MDN documentation pages, for example https://developer.mozilla.org/en-US/docs/WebAssembly

What is the problem?

Lack of horizontal space caused by navigation sidebar makes website unusable on portrait (vertical) monitors.

What did you expect to happen?

I expected to be able to collapse the navigation sidebar so the content takes up the full horizontal space.

Steps to reproduce the issue

  1. Select your monitor orientation as portrait
  2. Visit a MDN page such as https://developer.mozilla.org/en-US/docs/WebAssembly

Environment

Firefox on Windows 10

Device

  • Desktop
  • Mobile: ...
  • Tablet: ...
  • Other: ...

Browser

  • Chrome: (what version?)
  • Firefox: 97.0.1
  • Safari: (what version?)
  • Other: (what browser / version?)

Operating system

  • Windows: 10
  • Mac OS: (what version?)
  • Linux: (what distribution / version?)

Screenshots

image

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 2, 2022
@schalkneethling schalkneethling added the redesign issues related to the new design label Mar 2, 2022
@schalkneethling
Copy link
Contributor

Thank you for reporting @ahelwer

@caugner caugner added p2 We want to address this but may have other higher priority items. sidebar/toc Sidebar and table of contents 🌱 feature-request new feature request or enhancements to existing features and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Mar 11, 2022
@github-actions github-actions bot added the 🐌 idle Issues and PRs without recent activity. Flagged for maintainer follow-up. label May 3, 2022
@caugner
Copy link
Contributor

caugner commented Sep 14, 2022

@ahelwer Can you share what resolution you're using on the vertical monitor?

PS: As a workaround, you could zoom in to 120-130% to trigger mobile mode.

@caugner caugner changed the title Bug: Cannot collapse navigation sidebar Make sidebar collapsible on medium-sized screens Sep 14, 2022
@ahelwer
Copy link
Author

ahelwer commented Sep 14, 2022

2160p

@github-actions github-actions bot removed the 🐌 idle Issues and PRs without recent activity. Flagged for maintainer follow-up. label Nov 15, 2022
@github-actions github-actions bot added the idle label Dec 21, 2022
@mfiro
Copy link

mfiro commented Jan 28, 2023

Is there any update on this? The current design is just annoying. more than a fifth of vertical space is taken by the fixed header and a third of horizontal space by the side bar.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 feature-request new feature request or enhancements to existing features idle p2 We want to address this but may have other higher priority items. redesign issues related to the new design sidebar/toc Sidebar and table of contents
Projects
Development

No branches or pull requests

4 participants