Skip to content

Bug report: Mobile layout breaks on homepage (large side margins, content squeezed) #209

@Ramanand87

Description

@Ramanand87

When viewing the homepage on mobile-sized screens, the layout does not render correctly. The main content is squeezed into a narrow vertical column with large empty margins on both sides, and the hero section text appears clipped.

This makes the site difficult to read and navigate on mobile devices.

Steps to Reproduce

  • Open https://tour.json-schema.org/
  • Open browser dev tools
  • Switch to a mobile device preset (e.g., iPhone 12 Pro, width ~390px)
  • Reload the page
  • Observe that the content is constrained to a thin column with large margins instead of using the full width
Image Image

Expected Behavior:

  • Content should span the available mobile width
  • Hero section and lesson list should be properly centered
  • No excessive side margins
  • Responsive layout should adapt to small screens

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions