Fix new note form buttons alignment

This commit is contained in:
Devon Campbell 2026-03-21 20:32:26 -04:00
commit 3f226fb53f

View file

@ -223,7 +223,7 @@ Editor.css = `
#commit-details { #commit-details {
margin-top: 0.2rem; margin-top: 0.2rem;
margin-bottom: 1.5rem; /* Increased vertical spacing above the buttons */ margin-bottom: 1.5rem;
} }
#commit-details summary { #commit-details summary {
@ -246,13 +246,14 @@ Editor.css = `
.editor-buttons { .editor-buttons {
display: flex; display: flex;
justify-content: space-between; /* Pushes Delete to left, Save/Cancel to right */ justify-content: space-between;
align-items: center; align-items: center;
} }
.editor-buttons-right { .editor-buttons-right {
display: flex; display: flex;
gap: 0.5rem; gap: 0.5rem;
margin-left: auto;
} }
.editor-buttons button { .editor-buttons button {
@ -288,7 +289,7 @@ Editor.css = `
#delete-button { #delete-button {
background: transparent; background: transparent;
color: #e06c75; /* A distinct red color for destructive actions */ color: #e06c75;
border: 1px solid #e06c75; border: 1px solid #e06c75;
} }