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 = {
type: "custom:mod-card",
card_mod: {
style:
"hui-horizontal-stack-card $: | " +
"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 },
],
},
type: "horizontal-stack",
cards: [
{ type: "vertical-stack", cards: leftCards },
{ type: "markdown", content: stepMarkdown },
],
};
const cards = [columns];