From 4215e0ad7d57674d41f8582d83379dadb367e59f Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sat, 19 Sep 2026 14:04:54 +0200 Subject: [PATCH] Update cookcli-recipe-strategy.js --- dist/cookcli-recipe-strategy.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dist/cookcli-recipe-strategy.js b/dist/cookcli-recipe-strategy.js index 6b32535..1bdd9f0 100644 --- a/dist/cookcli-recipe-strategy.js +++ b/dist/cookcli-recipe-strategy.js @@ -219,7 +219,21 @@ class CookCliRecipeViewStrategy extends HTMLElement { content += `\n**Ustensiles** : ${recipe.cookware.map((c) => c.name).join(", ")}\n`; } - const cards = [{ type: "markdown", content }]; + const cards = [{ + type: "markdown", + content, + card_mod: { + style: ` + img { + width: 100%; + max-height: 250px; + object-fit: cover; + border-radius: 12px; + margin-bottom: 8px; + } + ` + } + }]; const rightCards = [];