From a886b10b0a640cd7f97ed0d657cb8b5e34eb18de Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Wed, 6 May 2026 18:58:06 +0200 Subject: [PATCH] Admin cockpit --- frontend/src/styles.css | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/frontend/src/styles.css b/frontend/src/styles.css index c91a979..6b0e829 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -578,15 +578,20 @@ button:disabled { opacity: 0.5; cursor: not-allowed; } padding: 0.65rem; } .program-node-preview { - min-height: 260px; + height: min(42vh, 380px); + min-height: 280px; + display: grid; + place-items: center; border: 1px solid #e5e7eb; border-radius: 12px; background: white; + overflow: hidden; padding: 0.75rem; } .program-node-preview img { width: 100%; - max-height: 420px; + height: 100%; + max-height: 100%; object-fit: contain; display: block; } @@ -599,9 +604,15 @@ button:disabled { opacity: 0.5; cursor: not-allowed; } font-size: 0.85rem; } .admin-review-form { + position: relative; + z-index: 1; display: flex; flex-direction: column; gap: 0.75rem; + border: 1px solid #e5e7eb; + border-radius: 14px; + background: #f8fafc; + padding: 0.85rem; } .admin-review-form label { display: flex;