diff --git a/src/components/NoteEditor.tsx b/src/components/NoteEditor.tsx index 80fd44f..52e057e 100644 --- a/src/components/NoteEditor.tsx +++ b/src/components/NoteEditor.tsx @@ -167,6 +167,7 @@ export function NoteEditor({ note, onUpdateNote, fontSize, onUnsavedChanges }: N titleElement.style.fontSize = '24px'; titleElement.style.fontWeight = 'bold'; titleElement.style.color = '#000000'; + titleElement.style.textAlign = 'center'; container.appendChild(titleElement); // Clone and add content diff --git a/src/index.css b/src/index.css index b2a0ef5..679b61c 100644 --- a/src/index.css +++ b/src/index.css @@ -116,7 +116,7 @@ code { padding: 0.125rem 0.25rem; border-radius: 0.25rem; font-family: 'Courier New', monospace; - font-size: 0.9em; + font-size: 1.1em; color: #1f2937; } @@ -169,6 +169,10 @@ code { color: #111827; } +.ProseMirror li p { + margin: 0; +} + .dark .ProseMirror li { color: #f3f4f6; }