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

Responsivity issue #3958

Closed
massoudmaboudi opened this issue Dec 28, 2020 · 2 comments
Closed

Responsivity issue #3958

massoudmaboudi opened this issue Dec 28, 2020 · 2 comments
Labels
bug An error in the Docusaurus core causing instability or issues with its execution closed: duplicate This issue or pull request already exists in another issue or pull request

Comments

@massoudmaboudi
Copy link
Contributor

🐛 Bug Report

I tried the main website and also I built a new website using v2.docusaurus and I noticed when the responsibility issue (horizontal scrollbar) in my system which is MacBook Pro 13 inches.
Also, the navbar has a save issue with a different screen width which described below.

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

(Write your steps here:)

Visit the below page:
https://v2.docusaurus.io/docs/markdown-features

Expected behavior

  1. It should not have a horizontal scrollbar on that page in Macbook Pro 13 inches. (13.3-inch (2560 × 1600))
  2. The Navbar row should perform better in the below the range of width: (997px < screen width < 1425px)

(Write what you thought would happen.)

Actual Behavior

  1. It shows a horizontal scrollbar. (13.3-inch (2560 × 1600))
  2. Navbar should show 2 rows properly in width: (997px < screen width < 1425px)

(Write what happened. Add screenshots, if applicable.)

Your Environment

  • Docusaurus version used: 2.0.0-alpha.71
  • Environment name and version: Chrome 87.0.4280.88 (Official Build) (arm64)
  • Operating system and version (desktop or mobile): MacBook Pro 13 Inches (13.3-inch (2560 × 1600))

Reproducible Demo

1425px

997px

1143px

@massoudmaboudi massoudmaboudi added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Dec 28, 2020
@slorber
Copy link
Collaborator

slorber commented Dec 28, 2020

Hi,

I've mitigated this issue by replacing the "unreleased" label with a construction icon

image

But we should find a solution.
The problem is that the breakpoint really depends on the site navbar content. Some sites will work with 1 line with 997px width.

Closing because:

@slorber slorber closed this as completed Dec 28, 2020
@massoudmaboudi
Copy link
Contributor Author

@slorber
I noticed the problem with the scrollbar is because of the CodeBlock. There is no issue for me in pages without a code block.
Also, When I set the width equal to a fixed size, it will remove the scrollbar. But When I set it to a percentage, still the problem persists.

@Josh-Cena Josh-Cena changed the title Responsibility issue Responsivity issue Mar 10, 2022
@Josh-Cena Josh-Cena added closed: duplicate This issue or pull request already exists in another issue or pull request and removed status: needs triage This issue has not been triaged by maintainers labels Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution closed: duplicate This issue or pull request already exists in another issue or pull request
Projects
None yet
Development

No branches or pull requests

3 participants