Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/src/components/recipe/RecipeDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function RecipeDetail({ recipe }: RecipeDetailProps) {
</ul>
</section>
<section className="border border-olive bg-background rounded-lg p-4">
<h2 className="text-2xl font-semibold">Steg</h2>
<h2 className="text-2xl font-semibold">Fremgangsmåte</h2>
<ol className="flex flex-col gap-3">
{recipe.steps.map((step) => (
<li key={step.id}>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/slideshow/RecipeSlideshow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function RecipeSlideshow({ recipes }: RecipeSlideshowProps) {
</li>
))}
</ul>
<Link to={`/recipes/${recipe.id}`} className="self-start rounded-full bg-olive-dark text-background px-6 py-3 hover:opacity-90 flex items-center gap-1">Se oppskrift<ArrowForwardIcon/></Link>
<Link to={`/recipes/${recipe.id}`} className="self-start rounded-full bg-olive-dark text-background px-4 py-2 text-sm md:text-base md:px-6 md:py-3 hover:opacity-90 flex items-center gap-1">Se oppskrift<ArrowForwardIcon/></Link>
</div>
{/* Tomt alternativ for bildet, ettersom tittelen allerede står rett ved siden av bildet. */}
<img className="bg-olive-dark/10 order-first md:order-0 w-full h-80 md:h-full object-cover rounded-lg " src={recipe.imageUrl ?? '/images/placeholder.webp'} alt=""/>
Expand Down