From d08dc94010e7c4b35682040a63a39c1a3b0ff449 Mon Sep 17 00:00:00 2001 From: Andre <200930841+Andre-Bzk@users.noreply.github.com> Date: Tue, 14 Apr 2026 17:43:20 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Aufgeklappte=20Verlauf-Karte=20mit=20gro?= =?UTF-8?q?=C3=9Fem=20Hero-Bild;=20Buttons=20nicht=20mehr=20am=20Rand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/app.js | 9 +++++++++ app/static/style.css | 4 ++++ data/history.db | Bin 61440 -> 61440 bytes 3 files changed, 13 insertions(+) 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 04f4141258e8ddfbcbc5cfde58abf803b5277b50..d3a1a06db9f4e3f7e7aa3f1bfbd17f8d0416e2fd 100644 GIT binary patch delta 347 zcmZp8z})bFd4e>r1_J{FKM?Z(G1Ej1b4HDg3G?+Cg*O?nBrxSFY-TZVVqsLDtY9w! zB;!oJ2xNyR1^bp36r~wg7P*90c~4FZ7o9vy+Hi7KtK{Z`rp{cOSr#x0FfwlD*zkv+ zgNenHfon30=f*-g7S}a#!dwi#mAR$Y92ppl42;Zl4NPQQxeebDEh27zliuC!Z>0CD-c@{_q0;NbG2S delta 1523 zcmb7^-%nF#7{^7n8}8sQU5#aXn3PGBp2js==w`1?ShDuoP*7hb23B6OIFOikQVn$!idQ zd;|td?#9n>`HUyIWc3jKD}~|5k^}6t++K<{oy8JHA%#d8Q6^NZqs_^=s5bi2DPxH^ z`;aq{5+p3Aw zX;ArZp#y0|QOb=3rPfGABUoM_ND?(PRwVJREVwS^sFZXCfLN;-dbE#AGo-B4_iV;^`Uw%J67nw3wMV za~d|LeBSN=+ru!7yXa9xUdEcPkWZLg@hzdb0PAB-hhEPHcz&|O=Cy;>T#R%FEi@Le z+S>+CrW@gY^aL=R%UVTA$;0Y-H#nkQJA<*Z-Vb-URxpoF(qOc}gX>LjJ2C+Oj?BCg zj{DK>I?hEKv^G>Dv9j)hf4+0SJ`yxUFESB?p_%?#Bz9e$fbYi;Tv~4My))kM^yg2( z7Tedccc1|+4;