From 83651460f546c3061ba6d8c099c834b230fb9e79 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Tue, 11 Mar 2025 08:55:26 -0500 Subject: [PATCH] Refine recipe overlay grid/behavior --- src/image-response/RecipeImageResponse.tsx | 2 +- src/photo/PhotoLarge.tsx | 6 +- src/recipe/PhotoRecipeOverlay.tsx | 102 ++++++++++----------- src/recipe/index.ts | 21 +++-- 4 files changed, 66 insertions(+), 65 deletions(-) diff --git a/src/image-response/RecipeImageResponse.tsx b/src/image-response/RecipeImageResponse.tsx index c007432f..681cac55 100644 --- a/src/image-response/RecipeImageResponse.tsx +++ b/src/image-response/RecipeImageResponse.tsx @@ -32,7 +32,7 @@ export default function RecipeImageResponse({ recipe: photo.recipeData, simulation: photo.filmSimulation!, iso: photo.iso!.toString(), - }) + }, true) : []; if (recipeLines && recipeLines.length > MAX_RECIPE_LINES) { diff --git a/src/photo/PhotoLarge.tsx b/src/photo/PhotoLarge.tsx index 06557768..769178c6 100644 --- a/src/photo/PhotoLarge.tsx +++ b/src/photo/PhotoLarge.tsx @@ -356,7 +356,11 @@ export default function PhotoLarge({