From b90a8604e2e1b4bc6f985dc1aac04221f1534d33 Mon Sep 17 00:00:00 2001 From: june Date: Thu, 14 Aug 2025 08:27:49 +1200 Subject: [PATCH] Changed formatting to have title on left column at all times --- src/components/Detail/StepView.astro | 4 ++-- src/pages/recipe/[recipeid].astro | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/Detail/StepView.astro b/src/components/Detail/StepView.astro index a7652b6..7b8df3a 100644 --- a/src/components/Detail/StepView.astro +++ b/src/components/Detail/StepView.astro @@ -3,10 +3,10 @@ import { record } from "astro:schema" import client from "@/data/pocketbase" import StepIngredientSideView from "./StepIngredientSideView.astro" -const { steps } = Astro.props +const { steps, class: className } = Astro.props --- -
+

Steps

{ steps.map(s => (
diff --git a/src/pages/recipe/[recipeid].astro b/src/pages/recipe/[recipeid].astro index 6554145..c91320e 100644 --- a/src/pages/recipe/[recipeid].astro +++ b/src/pages/recipe/[recipeid].astro @@ -31,7 +31,7 @@ const ingredients = await Promise.all(
-

{re.name}

+

{re.name}

@@ -40,11 +40,9 @@ const ingredients = await Promise.all(
-
- - +
- +