Fix: Testimonial Cards Overlapping and Content Hidden in Stories Section#820
Open
Manpreet661 wants to merge 1 commit into
Open
Fix: Testimonial Cards Overlapping and Content Hidden in Stories Section#820Manpreet661 wants to merge 1 commit into
Manpreet661 wants to merge 1 commit into
Conversation
Contributor
Thanks for creating a PR for your Issue!
|
Author
|
@neeru24 please review my work and merge this pr. |
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.
Description
Fixed layout issues in the Stories section where testimonial cards were overlapping vertically, causing review content to be partially hidden and breaking the visual consistency across all screen sizes. The issue was caused by improper height management, insufficient card spacing, and incorrect flexbox/grid configuration.
Related Issue
Closes #810
Changes made
Changed .stories-grid from align-items: stretch to align-items: start to prevent forced equal heights
Increased grid gap from 28px to 32px for better card spacing and separation
Changed .story-card from fixed height: 100% and min-height: 320px to height: auto and min-height: auto for responsive content-driven sizing
Changed overflow: hidden to overflow: visible to prevent content clipping
Modified .story-quote to use flex-grow: 1 with margin: 12px 0 0 0 to properly expand and fill available space
Updated .story-meta with min-height: auto and flex-shrink: 0 for consistent header sizing without forcing equal card heights
Adjusted responsive breakpoints: increased gap on tablet to 28px and mobile to 24px for consistent spacing across all devices
## Checklist