diff --git a/frontend/src/App.css b/frontend/src/App.css index e1c7217..b015a65 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -77,5 +77,9 @@ .ingredient-group-card { @apply py-4 border-b border-gray-400; } + + .enumeration-indicator{ + @apply flex-shrink-0 w-7 h-7 rounded-full bg-blue-300 text-white flex items-center justify-center + } } \ No newline at end of file diff --git a/frontend/src/components/recipes/RecipeDetailPage.tsx b/frontend/src/components/recipes/RecipeDetailPage.tsx index 7e8e863..6c1b68e 100644 --- a/frontend/src/components/recipes/RecipeDetailPage.tsx +++ b/frontend/src/components/recipes/RecipeDetailPage.tsx @@ -123,13 +123,26 @@ export default function RecipeDetailPage() { {/* Instructions - @todo add reasonable list delegate component*/} -

Zubereitung

+ {/*

Zubereitung

    {recipe.instructionStepList.map((step,j) =>(
  1. {step.text}
  2. ))} +
*/} +
    + {recipe.instructionStepList.map((step, j) => ( +
  1. + {/* Step number circle */} +
    + {j + 1} +
    + + {/* Step text */} +

    {step.text}

    +
  2. + ))}
{/* Action buttons */}