Skip to content

Conversation

@LipikaAggarwal
Copy link
Contributor

Description

This PR fixes the responsive layout issue in the landing page hero section where the hero cards overlapped and were partially hidden at medium desktop widths.
The layout has been refined specifically for both the lg and xl breakpoints to ensure proper spacing while preserving the original design on larger screens.

Changes

  • Adjusted HeroCards container dimensions for lg and xl screens.
  • Reduced card widths slightly on lg to prevent horizontal overflow at 1024px.
  • Updated horizontal positioning on lg so cards no longer clip outside the viewport.
  • Updated the HeroCards snapshot to reflect the intentional layout changes.

Checklist

  • Ran npx prettier --write . (for formatting)
  • Ran gofmt -w . (for Go backend) — Not applicable (no Go files modified)
  • Ran npm test (for JS/TS testing)
  • Added unit tests, if applicable — Not applicable for UI layout change
  • Verified all tests pass
  • Updated documentation, if needed — Not required

Additional Notes

  • The Go backend was run locally to verify the layout behavior after user login, as requested.

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

Thank you for opening this PR!

Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools.

Please take a moment to:

  • Check the "Files changed" tab
  • Leave comments on any lines for functions, comments, etc. that are important, non-obvious, or may need attention
  • Clarify decisions you made or areas you might be unsure about and/or any future updates being considered.
  • Finally, submit all the comments!

This helps make the review process smoother and gives us a clearer understanding of your thought process.

Once you've added your self-review, we'll continue from our side. Thank you!

animate="visible"
variants={popIn}
className="absolute right-[20px] mt-5 top-4 w-80 flex flex-col justify-center items-center drop-shadow-xl shadow-black/10 dark:shadow-white/10"
className="absolute lg:right-[30px] xl:right-[8px] mt-5 top-20 lg:w-[260px] xl:w-80 flex flex-col justify-center items-center drop-shadow-xl shadow-black/10 dark:shadow-white/10"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adjusted the card width and right offset on the lg breakpoint to prevent horizontal clipping at 1024px.

@its-me-abhishek its-me-abhishek merged commit 80b0904 into CCExtractor:main Dec 9, 2025
5 checks passed
@its-me-abhishek
Copy link
Collaborator

Thanks for the PR! Do star the repo to stay updated with the project!

ShivaGupta-14 pushed a commit to ShivaGupta-14/ccsync that referenced this pull request Dec 25, 2025
* Fix hero cards overlapping on medium screen sizes

* Fix hero cards overlapping on medium screen sizes
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.

Responsive layout issue on landing page hero section

2 participants