mirror of
https://github.com/Andre-Bzk/Rezept0r.git
synced 2026-11-15 09:33:05 +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);
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user