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