Skip to content

Fix: Testimonial Cards Overlapping and Content Hidden in Stories Section#820

Open
Manpreet661 wants to merge 1 commit into
neeru24:mainfrom
Manpreet661:main
Open

Fix: Testimonial Cards Overlapping and Content Hidden in Stories Section#820
Manpreet661 wants to merge 1 commit into
neeru24:mainfrom
Manpreet661:main

Conversation

@Manpreet661

Copy link
Copy Markdown

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

  • [✔️ ] I have tested my changes
  • [✔️ ] My code follows project guidelines
  • [ ✔️] No new errors introduced

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@Manpreet661

Copy link
Copy Markdown
Author

@neeru24 please review my work and merge this pr.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: Testimonial Cards Overlapping and Hiding Content in Stories Section

1 participant