diff --git a/app/static/app.js b/app/static/app.js index 23ef3cf..5cc4f67 100644 --- a/app/static/app.js +++ b/app/static/app.js @@ -427,6 +427,15 @@ function buildHistoryCard(entry) { bodyInner.appendChild(stepsSection); } + // Hero-Bild im aufgeklappten Zustand (vor bodyInner einfügen) + if (imageUrl) { + const heroImg = document.createElement('img'); + heroImg.className = 'recipe-image'; + heroImg.src = imageUrl; + heroImg.alt = ''; + heroImg.onerror = () => heroImg.remove(); + body.appendChild(heroImg); + } body.appendChild(bodyInner); // Actions diff --git a/app/static/style.css b/app/static/style.css index dffc0f8..35a10f8 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -438,6 +438,10 @@ body { gap: 10px; } +.history-card-body .recipe-actions { + padding: 0 24px 24px; +} + .btn { border: 1px solid transparent; border-radius: var(--radius-pill); diff --git a/data/history.db b/data/history.db index 04f4141..d3a1a06 100644 Binary files a/data/history.db and b/data/history.db differ