From 74bfaa775fb08fb7920f2036eea4f0a30de27a05 Mon Sep 17 00:00:00 2001 From: Lorenzo Corallo Date: Mon, 23 Nov 2026 20:53:18 +0100 Subject: [PATCH] fix(regulations): put the editor's draft actions after Procedura, delete in red Rinomina and Elimina bozza follow Procedura in the editor's header, and the delete button uses the danger color, like the menu's destructive item. --- src/features/regulations/draft-actions.tsx | 2 +- src/features/regulations/editor/editor-page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/regulations/draft-actions.tsx b/src/features/regulations/draft-actions.tsx index efde330..54ee2e0 100644 --- a/src/features/regulations/draft-actions.tsx +++ b/src/features/regulations/draft-actions.tsx @@ -60,7 +60,7 @@ export function DraftActions({ icon={Trash2} tone="danger" appearance="boxed" - className="size-10" + className="size-10 text-(--pn-danger-fg)" onClick={() => setDeleteOpen(true)} /> ) : null} diff --git a/src/features/regulations/editor/editor-page.tsx b/src/features/regulations/editor/editor-page.tsx index 9911251..f4a5dfb 100644 --- a/src/features/regulations/editor/editor-page.tsx +++ b/src/features/regulations/editor/editor-page.tsx @@ -413,7 +413,6 @@ export function EditorPage({ draft, members }: { draft: Draft; members: Assignme Condividi ) : null} - + } />