From 255f5adf85dc30cdad390aa55c7c252549d817be Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 2 May 2026 18:00:21 +0100 Subject: [PATCH] fix(testimonials): align featured card consistently left MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The featured card's quote was centered (inheriting `text-center` from the section wrapper) while the avatar+name+role row read as left- aligned because the flex container starts at the card's left edge — the two halves of the same card disagreed. Multi-card grid was already left-aligned, so single-vs-grid was inconsistent too. Move `text-center` from the outer wrapper onto the section header (title/text) only. The featured card and grid cards now both render left-aligned, the decorative `"` mark sits naturally as a leading glyph for the quote, and the awkward forced line breaks from text-center go away. --- modules/blox/blox/testimonials/component.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blox/blox/testimonials/component.jsx b/modules/blox/blox/testimonials/component.jsx index 7246bfcf..d2a65812 100644 --- a/modules/blox/blox/testimonials/component.jsx +++ b/modules/blox/blox/testimonials/component.jsx @@ -101,9 +101,9 @@ export const TestimonialsBlock = ({content, _design, _id, item_images}) => { : "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"; return ( -
+
{(title || text) && ( -
+
{title && (