Skip to content

Commit

Permalink
Wider
Browse files Browse the repository at this point in the history
  • Loading branch information
briansunter committed Apr 1, 2024
1 parent 07c63ed commit 43be89c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions site/src/pages/recipes/[...recipe].astro
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,18 @@ const combinedIngredients: Ingredient[] = ingredients.reduce<Ingredient[]>(
))
}
</section>
<section class="mb-8">
<details class="relative">
<summary class="text-2xl font-semibold mb-4 cursor-pointer">Cooklang Recipe</summary>
<div class="relative">
<CopyCodeButton code={entry.data.cooklang}>Copy Recipe</CopyCodeButton>
<Code code={entry.data.cooklang} lang={cooklangRegistration} />
</div>
</details>
</section>

</main>
<section class="mb-8">
<details class="relative">

<summary class=" mx-auto p-4 max-w-3xl text-2xl font-semibold mb-4 cursor-pointer">Cooklang Recipe</summary>
<div class="relative">
<CopyCodeButton code={entry.data.cooklang}>Copy Recipe</CopyCodeButton>
<Code code={entry.data.cooklang} lang={cooklangRegistration} />
</div>
</details>
</section>
<Footer />
</body>
</html>

0 comments on commit 43be89c

Please sign in to comment.