Update cookcli-recipe-strategy.js

This commit is contained in:
TheThomaas 2026-09-19 14:04:54 +02:00
parent 808ac667ca
commit 4215e0ad7d

View file

@ -219,7 +219,21 @@ class CookCliRecipeViewStrategy extends HTMLElement {
content += `\n**Ustensiles** : ${recipe.cookware.map((c) => c.name).join(", ")}\n`; 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 = []; const rightCards = [];