Fix new note form buttons alignment
This commit is contained in:
parent
3d95b867c0
commit
3f226fb53f
1 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue