From 3cfcb13fcaf382921ce90fe90aa49fe66ebb51af Mon Sep 17 00:00:00 2001 From: Petter Hohle Date: Thu, 5 Dec 2024 14:24:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20hotspot:=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sections/employeeHighlight/employeeHighlight.module.css | 2 +- studio/schemas/objects/sections/employeeHighlight.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/sections/employeeHighlight/employeeHighlight.module.css b/src/components/sections/employeeHighlight/employeeHighlight.module.css index 689bb03f8..75ea1dfd6 100644 --- a/src/components/sections/employeeHighlight/employeeHighlight.module.css +++ b/src/components/sections/employeeHighlight/employeeHighlight.module.css @@ -16,7 +16,7 @@ } .image { - min-width: 15rem; + min-width: 20rem; width: 100%; height: auto; object-fit: cover; diff --git a/studio/schemas/objects/sections/employeeHighlight.ts b/studio/schemas/objects/sections/employeeHighlight.ts index e3bed1baf..779a785d2 100644 --- a/studio/schemas/objects/sections/employeeHighlight.ts +++ b/studio/schemas/objects/sections/employeeHighlight.ts @@ -34,6 +34,9 @@ export const employeeHighlightSection = defineField({ type: "image", title: "Employee photo", description: "A photo of the employee,", + options: { + hotspot: true, + }, }, ], preview: {