feat: integrate Monaco editor for enhanced comment editing in modal

This commit is contained in:
2025-01-25 21:22:37 +02:00
parent dd56d4adc2
commit 10896146cf
4 changed files with 39 additions and 7 deletions
+19
View File
@@ -269,17 +269,30 @@
border-radius: 4px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1001;
font-family: var(--ui-font);
}
.comment-modal h2 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}
.comment-modal textarea {
width: 100%;
height: calc(100% - 2rem);
margin-bottom: 1rem;
font-family: var(--ui-font);
font-size: 1rem;
padding: 0.5rem;
border: 1px solid #e0e0e0;
border-radius: 4px;
}
.comment-modal .button {
display: block;
margin: 0 auto;
font-family: var(--ui-font);
}
.comment-modal-background {
@@ -333,4 +346,10 @@
border: 1px solid #e0e0e0;
border-radius: 4px;
font-size: 1rem;
}
#comment-editor {
width: 100%;
height: calc(100% - 2rem);
margin-bottom: 1rem;
}