Skip to content

馃悶 Review Card Content Overflow Fix + (bullet+slider) style change馃悶 - #221

Open
ayushpandey101 wants to merge 2 commits into
Skrishna0703:mainfrom
ayushpandey101:CustomerReview
Open

馃悶 Review Card Content Overflow Fix + (bullet+slider) style change馃悶#221
ayushpandey101 wants to merge 2 commits into
Skrishna0703:mainfrom
ayushpandey101:CustomerReview

Conversation

@ayushpandey101

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

  • Addresses UI issues with the previous bulky and fixed-height review cards overflowing outside the div.
  • Introduces a more compact, flexible, and modern design for better space utilization.
  • Improves responsiveness and visual consistency across all devices.
  • changing the bullet and slider style

What changes are included in this PR?

  • CustomerReviews.jsx:

    • Wrapped the Swiper component in a new .reviews-swiper-wrap div for better layout control.
    • Adjusted Swiper breakpoints to show partial slides on tablet view (slidesPerView: 1.2), improving user engagement.
  • CustomerReviews.css:

    • Made .review-card flexible by removing its fixed height and reducing max-width and padding.
    • Reduced the size of card elements (avatar, fonts, quote icon) for a more compact look.
    • Centered the new, narrower cards within each slide using justify-content.

Are these changes tested?

  • Yes, manually tested on various screen sizes (mobile, tablet, desktop) to ensure responsiveness.
  • Verified Swiper functionality (navigation, pagination, autoplay) works as expected.
  • Checked for visual consistency in modern browsers.

Are there any user-facing changes?

  • Yes, a visually refreshed and more professional customer reviews section.
  • Review cards are now more compact and modern in appearance.
  • Improved slider experience, especially on tablets, where adjacent slides are now visible.

Screenshots

Light Mode:
Screenshot 2025-10-06 220936

Dark Mode:
Screenshot 2025-10-06 220951

@github-actions

github-actions Bot commented Oct 6, 2025

Copy link
Copy Markdown

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. 馃檶馃徏

@ayushpandey101

Copy link
Copy Markdown
Contributor Author

@Skrishna0703 please merge the #219 pr first or else git conflict will occur

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.

馃悶 Bug Report: Review Card Content Overflow(No Div) 馃悶

1 participant