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

Bug: Home Page Content Overflows on Small Screens Due to Minimum Width Constraint #847

Open
edwinperaza99 opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
bug Something isn't working high priority

Comments

@edwinperaza99
Copy link

Bug Report

Steps to Reproduce:

  1. Open the project’s documentation site on a small-screen device (e.g., mobile viewport < 500px width).
  2. Observe that the content is no longer centered; elements appear cut off as if extending beyond the screen.
  3. There is no horizontal scrolling because overflow: hidden; is applied, but the content itself is pushed outside the viewport.
  4. Inspect the body element in DevTools and notice that a min-width property is applied from base.css, preventing the page from properly resizing.

Expected Result:

  • The page should fully scale down to fit within the viewport width.
  • The main content, including the SVG logo and other elements, should remain properly centered and responsive.

Actual Result:

  • The homepage content is misaligned and cut off on small screens.
  • Because overflow: hidden; is applied, users cannot manually scroll to view the missing content.
  • Inspecting with browser dev tools shows that min-width is preventing proper responsiveness.

Environment:

  • Where Issue Occurred: Live website of the project's documentation
  • Tested On:
    • iPhone 14 Pro Max (Safari)
    • iPhine 12 (Safari)
    • macOS (Chrome DevTools with viewport resizing)

Additional Context:

While exploring job postings, I came across one that mentioned this repository as part of the role’s responsibilities. Curious to learn more about the project, I explored the documentation and accessed the website on my phone. I then noticed that some content wasn’t properly centered. Inspecting the styles, I found that a min-width constraint in base.css was preventing the page from fully adapting to smaller screens. Given how important responsive design is, I wanted to contribute a fix to improve the experience for mobile users.

Image

Image

Suggested Fix:

Adding min-width: 0; to the body CSS resolves the issue and allows the page to properly scale on smaller screens without modifying the styles on base.css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

3 participants