From 3f226fb53f82cc988b676ff5a755b956d892a5a6 Mon Sep 17 00:00:00 2001 From: Devon Campbell Date: Sat, 21 Mar 2026 20:32:26 -0400 Subject: [PATCH] Fix new note form buttons alignment --- quartz/components/Editor.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/quartz/components/Editor.tsx b/quartz/components/Editor.tsx index 7d5b9c0..c9637b6 100644 --- a/quartz/components/Editor.tsx +++ b/quartz/components/Editor.tsx @@ -223,7 +223,7 @@ Editor.css = ` #commit-details { margin-top: 0.2rem; - margin-bottom: 1.5rem; /* Increased vertical spacing above the buttons */ + margin-bottom: 1.5rem; } #commit-details summary { @@ -246,13 +246,14 @@ Editor.css = ` .editor-buttons { display: flex; - justify-content: space-between; /* Pushes Delete to left, Save/Cancel to right */ + justify-content: space-between; align-items: center; } .editor-buttons-right { display: flex; gap: 0.5rem; + margin-left: auto; } .editor-buttons button { @@ -288,7 +289,7 @@ Editor.css = ` #delete-button { background: transparent; - color: #e06c75; /* A distinct red color for destructive actions */ + color: #e06c75; border: 1px solid #e06c75; }