fix: refine mobile contact photo crop

This commit is contained in:
Keith Solomon
2026-06-27 21:22:30 -05:00
parent e2901ce710
commit 7c143721b8
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ test("mobile contact card matches the 402px reference geometry", async ({
expect(linework.x).toBeLessThanOrEqual(card.x);
await expect(lineworkLocator).toHaveCSS("overflow", "visible");
await expect(backgroundImage).toHaveCSS("object-fit", "cover");
await expect(backgroundImage).toHaveCSS("object-position", "60% 50%");
await expect(backgroundImage).toHaveCSS("object-position", "82% 50%");
await expect(backgroundImage).toHaveCSS("filter", "brightness(1.5)");
const overlay = await cardLocator
.locator(".contact-block__media")