From bcfb62ccc4b7c12b870a41b1aa50e11abe9edb78 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Thu, 24 Sep 2026 18:48:07 +0200 Subject: [PATCH] Update cookcli-recipe-strategy.js --- custom_components/cookcli/www/cookcli-recipe-strategy.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/custom_components/cookcli/www/cookcli-recipe-strategy.js b/custom_components/cookcli/www/cookcli-recipe-strategy.js index b15fdcf..9aa565b 100644 --- a/custom_components/cookcli/www/cookcli-recipe-strategy.js +++ b/custom_components/cookcli/www/cookcli-recipe-strategy.js @@ -463,7 +463,13 @@ class CookCliRecipeViewStrategy extends HTMLElement { ); } else { navButtons.push({ - type: "heading" + type: "heading", + card_mod: { + style: ` + ha-card { + width: ${this.NAV_BUTTON_WIDTH} !important; + }` + } }); /*navButtons.push({ type: "markdown",