diff --git a/frontend/src/projects-detail.tsx b/frontend/src/projects-detail.tsx index 83ff768..1420790 100644 --- a/frontend/src/projects-detail.tsx +++ b/frontend/src/projects-detail.tsx @@ -659,12 +659,6 @@ export function renderProjectsDetail(): string { Schriftsätze werden direkt aus dem Projekt heraus als .docx generiert. Anpassen, drucken, einreichen.
- - {/* Full edit modal — same form as /projects/new, pre-filled. */} @@ -696,6 +690,12 @@ export function renderProjectsDetail(): string { + {/* Danger zone — destructive action, visually separated from Save/Cancel. */} + diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index ae4c4bb..4cc21b8 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -11020,6 +11020,18 @@ dialog.quick-add-sheet::backdrop { margin-top: 0.5rem; } +/* --- Modal danger zone (t-paliad-236) ------------------------------- + Destructive action separated from the form's Save / Cancel row so a + rare action (Projekt archivieren) doesn't sit next to the primary CTA. + Top border + muted padding mark it as a distinct, lower-priority area. */ +.modal-danger-zone { + margin-top: 1.5rem; + padding-top: 1rem; + border-top: 1px solid var(--color-border); + display: flex; + justify-content: flex-end; +} + /* --- Standardised tab toolbar action buttons (t-paliad-049) ---------- The .party-controls toolbar above each project sub-tab table used a mix of and