mirror of
https://github.com/Andre-Bzk/Rezept0r.git
synced 2026-11-15 15:43:04 +01:00
fix: Aufgeklappte Verlauf-Karte mit großem Hero-Bild; Buttons nicht mehr am Rand
This commit is contained in:
@@ -427,6 +427,15 @@ function buildHistoryCard(entry) {
|
|||||||
bodyInner.appendChild(stepsSection);
|
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);
|
body.appendChild(bodyInner);
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
|
|||||||
@@ -438,6 +438,10 @@ body {
|
|||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.history-card-body .recipe-actions {
|
||||||
|
padding: 0 24px 24px;
|
||||||
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: var(--radius-pill);
|
border-radius: var(--radius-pill);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user