diff --git a/src/components/StepList.astro b/src/components/StepList.astro
index 3d0a7d7..033eb8d 100644
--- a/src/components/StepList.astro
+++ b/src/components/StepList.astro
@@ -3,13 +3,15 @@ interface Step {
title: string;
}
-const { steps, currentStep } = Astro.props as {
+const { steps, currentStep, title } = Astro.props as {
steps: Step[];
currentStep: number;
+ title: String;
};
---
+
{title}
{
steps.map((step, i) => (
@@ -33,6 +35,11 @@ const { steps, currentStep } = Astro.props as {
max-width: 400px; /* optional, keeps it compact */
}
+ .step-box h2 {
+ font-size: 1em;
+ padding-bottom: 1em;
+ }
+
.steps {
list-style: none;
padding: 0;
diff --git a/src/components/StepListReceive.astro b/src/components/StepListReceive.astro
index c1ecba0..9169c19 100644
--- a/src/components/StepListReceive.astro
+++ b/src/components/StepListReceive.astro
@@ -1,12 +1,14 @@
---
import StepList from "./StepList.astro";
-const { currentStep } = Astro.props;
+const { currentStep, title } = Astro.props;
---