From 93e3fc6db5b788a48dc6499502c9666caa0ad8c4 Mon Sep 17 00:00:00 2001 From: june Date: Wed, 13 Aug 2025 15:32:29 +1200 Subject: [PATCH] Table formatting --- src/components/Detail/IngredientTableView.astro | 14 +++++++------- src/pages/recipe/[recipeid].astro | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Detail/IngredientTableView.astro b/src/components/Detail/IngredientTableView.astro index 8d6951c..1f38027 100644 --- a/src/components/Detail/IngredientTableView.astro +++ b/src/components/Detail/IngredientTableView.astro @@ -18,12 +18,12 @@ const { class: className, ingredients } = Astro.props --> - +
- - - + + + @@ -31,9 +31,9 @@ const { class: className, ingredients } = Astro.props ingredients.map(ing => ( <> - - - + + + )) diff --git a/src/pages/recipe/[recipeid].astro b/src/pages/recipe/[recipeid].astro index 0cae90b..75662ef 100644 --- a/src/pages/recipe/[recipeid].astro +++ b/src/pages/recipe/[recipeid].astro @@ -41,7 +41,7 @@ const ingredients = await Promise.all(

Steps

{ steps.map(s => (
-

Step {s.index + 1}

+

Step {s.index + 1}

{s.instruction}

)) }
QuantityUnitFoodQuantityUnitFood
{ing.quantity}{ing.unit}{ing.name}{ing.quantity}{ing.unit}{ing.name}