Skip to content

Conversation

@Krishna-Sri-Charan
Copy link

@Krishna-Sri-Charan Krishna-Sri-Charan commented Oct 2, 2025

Fix: #86

Problem:

  • Landing page content was overflowing and breaking the layout
  • Aggressive scaling transforms causing unpredictable rendering across screen sizes

Changes:
✅ Fixed overflow issues by replacing h-screen overflow-hidden with min-h-screen
✅ Removed excessive scale-[] transforms that caused layout breaks
✅ Changed w-screen to w-full to prevent horizontal overflow
✅ Added proper max-width constraints for better content containment
✅ Improved responsive spacing and layout flow

Testing:

  • Landing page renders correctly on mobile (320px - 640px)
  • Landing page renders correctly on tablet (640px - 1024px)
  • Landing page renders correctly on desktop (1024px+)

Files Changed:

  • src/pages/LandingPage.jsx

Screenshots: (Before/After)
Before:
image
After:
image

Copilot AI review requested due to automatic review settings October 2, 2025 12:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes critical layout breaking issues on the landing page by removing problematic scaling transforms and fixing overflow constraints. The changes ensure consistent rendering across all device sizes.

  • Replaced h-screen overflow-hidden with min-h-screen to prevent content overflow
  • Removed aggressive scale-[] transforms that caused unpredictable layout behavior
  • Changed w-screen to w-full and added proper max-width constraints

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

onClick={handleEnter}
disabled={isSignedUp}
className="bg-[#FFFB00] w-auto h-11 text-black font-silkscreen border border-black text-sm px-6 py-[9px] rounded-[6px] hover:scale-105 transition cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
className="bg-[#FFFB00] whitespace-nowrap h-11 text-black font-silkscreen border border-black text-sm px-6 py-2 rounded-md hover:scale-105 transition cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The py-2 class should be py-[9px] to maintain the original vertical padding. The change from py-[9px] to py-2 (8px) reduces the button's internal padding, which may affect the visual consistency with the design.

Suggested change
className="bg-[#FFFB00] whitespace-nowrap h-11 text-black font-silkscreen border border-black text-sm px-6 py-2 rounded-md hover:scale-105 transition cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
className="bg-[#FFFB00] whitespace-nowrap h-11 text-black font-silkscreen border border-black text-sm px-6 py-[9px] rounded-md hover:scale-105 transition cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"

Copilot uses AI. Check for mistakes.
@Krishna-Sri-Charan
Copy link
Author

Krishna-Sri-Charan commented Oct 2, 2025

@yep-yogesh kindly look into this pr and merge it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Landing page issue

1 participant