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; }