diff --git a/dist/grocy-meal-plan-card.js b/dist/grocy-meal-plan-card.js index 4206b33..a78a136 100644 --- a/dist/grocy-meal-plan-card.js +++ b/dist/grocy-meal-plan-card.js @@ -100,23 +100,23 @@ class MealPlanCard extends LitElement {
- - ${this.getDay(daily.day, lang, tz)} - - - ${this.getShortDay(daily.day, lang)} - - - ${daily.recipe_name} - - ${daily.note !== null && - daily.note !== undefined - ? html` - - ${daily.note} - - ` - : ""} + ${this.getDay(daily.day, lang, tz)} + ${this.getShortDay(daily.day, lang)} + + ${typeof daily.recipe_name !== 'undefined' ? daily.recipe_name + : typeof daily.recipe.name !== 'undefined' ? daily.recipe.name + : ""} + + + ${typeof daily.section !== 'undefined' && daily.section.name !== null + ? daily.section.name + : ""} + + + ${typeof daily.note !== 'undefined' && daily.note !== null + ? daily.note + : ""} +
@@ -210,6 +210,13 @@ class MealPlanCard extends LitElement { text-shadow: 1px 1px 3px rgba(0,0,0,0.9); fill: #fff; } + + .section { + font-size: 14px; + font-style: italic; + text-shadow: 1px 1px 3px rgba(0,0,0,0.9); + fill: #fff; + } .dayname { text-transform: uppercase;