Fix: improved Success Stories spacing, card design, responsiveness#160
Merged
lolpanda2004 merged 1 commit intololpanda2004:mainfrom Aug 24, 2025
Merged
Conversation
|
@shagunkimothi is attempting to deploy a commit to the LolPanda2004's projects Team on Vercel. A member of the Team first needs to authorize it. |
Thanks for creating a PR for your Issue!
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spacing and Readability
Vertical Spacing: The vertical padding on the main container was changed from py-16 to py-20, and the bottom margin of the subheading was increased from mb-12 to mb-20. This creates more space around the content, reducing the cramped feel and improving overall readability.
Card Spacing: The gap between the grid items was increased from gap-10 to gap-12 lg:gap-16. This provides more breathing room between each success story card.
Card Styling and Interactivity
Shadows: The cards now have a more pronounced shadow effect. The class was updated from shadow-md to shadow-xl, giving them more depth. On hover, the shadow becomes even more prominent with hover:shadow-2xl.
Glow Effect: The code now includes a subtle glowing shadow on hover with the new class hover:shadow-amber-500/50. This creates a more modern, interactive feel and visually highlights the cards as the user interacts with them.
Border: The border was removed from the card and is now completely transparent, creating a cleaner look that relies on the shadow for definition.
Responsiveness

The responsive grid classes (grid-cols-1 md:grid-cols-2 lg:grid-cols-3) were already in place in the original code. This ensures the layout correctly adapts to different screen sizes, stacking vertically on mobile, moving to two columns on tablets, and returning to three columns on desktops. The changes made in the new version enhance this responsive design by increasing the gaps and margins, so the cards never appear "squeezed" together on any device.