Skip to content

Fixed grid layout wrapping issue#1

Open
kparitosh07 wants to merge 1 commit intoossrndc:mainfrom
kparitosh07:fix-paritosh
Open

Fixed grid layout wrapping issue#1
kparitosh07 wants to merge 1 commit intoossrndc:mainfrom
kparitosh07:fix-paritosh

Conversation

@kparitosh07
Copy link

📌 Issue

Previously, the grid layout was defined as:

display: grid;
grid-template-columns: repeat(3, 400px);
gap: 30px;
padding: 100px 20px;

This caused the layout to remain fixed at three 400px columns, which broke responsiveness on smaller screens and created overflow issues.

✅ Solution

Updated the grid configuration to use a responsive approach, allowing columns to automatically adjust based on screen size.

  • Replaced fixed-width columns with a flexible minmax() setup.
  • Ensured the layout adapts smoothly across desktop, tablet, and mobile screens.
  • Improved overall responsiveness and user experience.

@ayushman1210
Copy link
Contributor

will review it shortly !!

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.

2 participants