fix(ui): uneven heights and layout overflow in testimonial cards on `/pricing`
@DRafi2006 is already working on this.
Since Sep 12, 2026.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 1.6k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Description
Description
On the Pricing page (/pricing) under the "Hear what other users have to say..." review carousel, the testimonial cards exhibit noticeable visual and responsive layout defects:
-
Unequal Card Heights Across Carousel Slides:
Individual testimonial cards vary drastically in height depending on quote length (e.g., ~550px for longer quotes vs. ~380px for shorter quotes). Because slides do not stretch to uniform heights, shorter cards leave large, unsightly gaps of empty space underneath them. -
Asymmetrical / Off-Center Text Padding on Type-Two Cards:
Ontype-twocards (with the centered circular avatar at the top),.type-two-quote-basehaspadding: 60px 30px 50px 100px;. This disproportionate100pxleft padding vs30pxright padding on viewports> 768pxseverely squeezes the quote into a narrow, right-skewed column that is visibly misaligned with the centered avatar. -
Massive Decorative Quotation Mark Overflow (
type-three):
Intype-threecards, the decorative quotation mark glyph (.type-three-quote-qmark) is styled withfont-size: 280pt(~373px) positioned attop: 140px. Because.type-three-quotelacksoverflow: hidden;, this giant glyph bleeds out of the bottom corner of cards with shorter text onto the dark page background.
Screenshot / Visual Evidence
https://github.com/user-attachments/assets/5e765240-382b-4c9b-9b6b-913043f95494
Steps to Reproduce
- Open
https://layer5.io/pricing(or rungatsby developlocally and visithttp://localhost:8000/pricing). - Toggle to Dark Mode.
- Scroll down to the "Hear what other users have to say..." section.
- Resize the browser to a tablet/foldable width (e.g., 853px or 800px – 1024px).
- Compare the heights of side-by-side cards (e.g., Mrittika Ganguli vs. Maximiliano Churichi) and observe:
- The jagged, uneven bottom alignment.
- The heavy
100pxleft indentation on Maximiliano's card.
Expected Behavior
- All testimonial cards within the active carousel view should stretch to equal heights (
height: 100%) so the bottom borders and author metadata align consistently. - Padding inside
type-twocards should be balanced horizontally (e.g.,padding: 60px 30px 40px 30px) so text remains centered under the avatar across all screen sizes. - Decorative quotation marks should stay contained within card boundaries without spilling onto the page background (
overflow: hidden).
Affected Files & Code References
-
src/reusecore/Blockquote/Blockquote-image/blockquote-image.style.js:- Lines 186–193 (
.type-two-quote .type-two-quote-base):padding: 60px 30px 50px 100px; /* Asymmetric 100px left vs 30px right */ - Lines 235–241 (
.type-three-quote):
Missingoverflow: hidden;causing the280ptfont-size glyph from line 279 to overflow. - Lines 17–20 (
section.bq-section):
Fixedpadding: 30px; margin-bottom: 60px;causing excessive inner margin when multiple slides render at mid-screen widths.
- Lines 186–193 (
-
src/sections/Pricing/review-slider.js:- Lines 72–76 & 79–86:
Slick slider container needs.slick-track { display: flex; }and.slick-slide > div { height: 100%; }to ensure cards stretch to uniform height.
- Lines 72–76 & 79–86:
Suggested Fix
- In
blockquote-image.style.js:- Balance the padding on
.type-two-quote .type-two-quote-base:padding: 60px 30px 40px 30px; - Add
overflow: hidden;to.type-three-quote. - Set
.bq-quoteand.type-one-wrappertoheight: 100%; display: flex; flex-direction: column;so cards expand to fill slide height.
- Balance the padding on
- In
review-slider.js:- Add flex stretch rules to
.slick-trackand.slick-slideso all rendered cards in the row share the height of the tallest card.
- Add flex stretch rules to
Contributor Labels
area/uicomponent/pricinggood first issuekind/bug
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.