Skip to content

🐛 [Bug]: Hero Section Content Overflows on Medium/Small Screens #510

@nishtha-agarwal-211

Description

@nishtha-agarwal-211

Describe the Bug

The hero section content is overflowing and getting cut off on medium/smaller screen widths. The heading and supporting text extend outside the visible container, making the layout look broken and reducing readability.

Steps to Reproduce

  1. Open the homepage.
  2. Open browser DevTools and switch to responsive mode.
  3. Resize the screen width to around tablet/smaller laptop dimensions.
  4. Observe the hero section content.

Expected Behavior

The hero section content should remain fully visible and properly aligned across all screen sizes without overflow or clipping.

Actual Behavior

The heading and text overflow outside the container and are partially hidden on smaller widths.

Possible Cause

  • Large font sizes without responsive scaling
  • Fixed width/max-width issues
  • Missing responsive breakpoints or overflow handling in .hero-content

Suggested Fix

  • Add responsive font scaling using media queries or clamp()
  • Ensure proper max-width and padding adjustments
  • Add overflow handling and improve flex responsiveness for smaller screens

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions