Update cookcli-recipe-strategy.js
This commit is contained in:
parent
f883bf361a
commit
d5b177a5e8
|
|
@ -476,7 +476,7 @@ class CookCliRecipeViewStrategy extends HTMLElement {
|
||||||
leftCards.push({ type: "custom:circular-timer-card", entity: config.timer_entity });
|
leftCards.push({ type: "custom:circular-timer-card", entity: config.timer_entity });
|
||||||
rightCards.push({
|
rightCards.push({
|
||||||
type: "grid",
|
type: "grid",
|
||||||
columns: Math.min(2, buttons.length),
|
columns: Math.min(3, buttons.length + 2),
|
||||||
square: false,
|
square: false,
|
||||||
cards: buttons,
|
cards: buttons,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue