From 29b64ff37631869080a3e3906c03983b83e5c3ef Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 5 Apr 2025 16:19:35 -0500 Subject: [PATCH] Refine recipe scroll-into-view behavior --- src/recipe/PhotoRecipeOverlay.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/recipe/PhotoRecipeOverlay.tsx b/src/recipe/PhotoRecipeOverlay.tsx index d5107273..a039fed3 100644 --- a/src/recipe/PhotoRecipeOverlay.tsx +++ b/src/recipe/PhotoRecipeOverlay.tsx @@ -96,6 +96,7 @@ export default function PhotoRecipeOverlay({ className={clsx( 'z-10', 'w-[20rem] p-3 space-y-3', + 'scroll-mt-8', 'rounded-lg shadow-2xl', 'text-[13.5px] text-black', 'bg-white/70 border border-neutral-200/30',