Update card-mod code
This commit is contained in:
parent
6b88771958
commit
3c41562ca5
6
dist/cookcli-recipe-strategy.js
vendored
6
dist/cookcli-recipe-strategy.js
vendored
|
|
@ -276,6 +276,12 @@ class CookCliRecipeViewStrategy extends HTMLElement {
|
||||||
},
|
},
|
||||||
card: {
|
card: {
|
||||||
type: "horizontal-stack",
|
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: [
|
cards: [
|
||||||
{ type: "vertical-stack", cards: leftCards },
|
{ type: "vertical-stack", cards: leftCards },
|
||||||
{ type: "markdown", content: stepMarkdown },
|
{ type: "markdown", content: stepMarkdown },
|
||||||
|
|
|
||||||
Reference in a new issue