From 32bbf6750b5fbb99c62cca727b0bbfa36e88c880 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sat, 27 Jun 2026 19:27:17 -0500 Subject: [PATCH] fix: show full mobile pull quote artwork --- tests/mobile-homepage.spec.js | 4 ++-- views/blocks/pull-quote/pull-quote.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/mobile-homepage.spec.js b/tests/mobile-homepage.spec.js index aa48b37..ccedabd 100644 --- a/tests/mobile-homepage.spec.js +++ b/tests/mobile-homepage.spec.js @@ -117,7 +117,7 @@ test("mobile pull quote matches the reference scale", async ({ page }) => { 8, ); expectNear(vector.x, quote.x, 3); - expectNear(vector.width, quote.width * 1.8, 3); + expectNear(vector.width, quote.width, 3); expectNear(vector.height, quote.height - bandHeight, 3); await expect(vectorImage).toHaveCSS("max-width", "none"); await expect(vectorImage).toHaveCSS("object-fit", "fill"); @@ -152,7 +152,7 @@ test("mobile pull quote matches the supplied visual reference", async ({ "pullquote-reference.png", { animations: "disabled", - maxDiffPixelRatio: 0.115, + maxDiffPixelRatio: 0.111, threshold: 0.05, }, ); diff --git a/views/blocks/pull-quote/pull-quote.css b/views/blocks/pull-quote/pull-quote.css index 276e873..061f9cb 100644 --- a/views/blocks/pull-quote/pull-quote.css +++ b/views/blocks/pull-quote/pull-quote.css @@ -70,7 +70,7 @@ height: 100%; max-width: none; object-fit: fill; - width: 180%; + width: 100%; } .pull-quote .pull-quote__content {