Update cookcli-recipe-strategy.js

This commit is contained in:
TheThomaas 2026-09-19 19:34:07 +02:00
parent 5c63f62bd6
commit b06d43b883

View file

@ -226,16 +226,17 @@ class CookCliRecipeViewStrategy extends HTMLElement {
const cards = [{ const cards = [{
type: "markdown", type: "markdown",
content, content,
card_mod: ` card_mod:`
style: | style:
img { ha-markdown:
width: 100%; $: |
aspect-ratio: 16 / 10; img {
object-fit: cover; width: 100%;
border-radius: 12px; aspect-ratio: 16 / 10;
margin-bottom: 8px; object-fit: cover;
} border-radius: 12px;
` margin-bottom: 8px;
}`
}]; }];
const rightCards = []; const rightCards = [];