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:
ha-markdown:
$: |
img { img {
width: 100%; width: 100%;
aspect-ratio: 16 / 10; aspect-ratio: 16 / 10;
object-fit: cover; object-fit: cover;
border-radius: 12px; border-radius: 12px;
margin-bottom: 8px; margin-bottom: 8px;
} }`
`
}]; }];
const rightCards = []; const rightCards = [];