Center PDF title and improve code/list formatting

- Centered note title in PDF exports for better visual balance
- Increased inline code font size from 0.9em to 1.1em for better readability
- Removed paragraph margins inside list items to fix spacing issues
This commit is contained in:
drelich
2026-03-17 15:54:55 +01:00
parent 89c161f2f3
commit db7daa81a3
2 changed files with 6 additions and 1 deletions

View File

@@ -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