Remove card mod

This commit is contained in:
TheThomaas 2026-09-16 14:16:42 +02:00
parent 3c41562ca5
commit bbcae5d48f

View file

@ -267,26 +267,11 @@ class CookCliRecipeViewStrategy extends HTMLElement {
} }
const columns = { const columns = {
type: "custom:mod-card", type: "horizontal-stack",
card_mod: { cards: [
style: { type: "vertical-stack", cards: leftCards },
"hui-horizontal-stack-card $: | " + { type: "markdown", content: stepMarkdown },
"div#root > :first-child { width: 30%; flex: auto; } " + ],
"div#root > :last-child { width: 70%; flex: auto; }",
},
card: {
type: "horizontal-stack",
card_mod: {
style:
"hui-horizontal-stack-card $: | " +
"div#root > :first-child { width: 30%; flex: auto; } " +
"div#root > :last-child { width: 70%; flex: auto; }",
},
cards: [
{ type: "vertical-stack", cards: leftCards },
{ type: "markdown", content: stepMarkdown },
],
},
}; };
const cards = [columns]; const cards = [columns];