💄 head paragraph spacing

This commit is contained in:
2026-06-08 17:29:21 +10:00
parent 6382d4f46b
commit b6c597638f
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ function buildTheme(fontSize: number, isDark: boolean): ReturnType<typeof Editor
return EditorView.theme({
'&': { height: '100%', background: 'transparent' },
'.cm-scroller': { fontFamily: 'Georgia, "Times New Roman", serif', fontSize: `${fontSize}px`, lineHeight: '1.85', overflow: 'auto' },
'.cm-content': { maxWidth: '680px', margin: '0 auto', padding: '0 24px', caretColor: 'var(--accent)' },
'.cm-content': { maxWidth: '680px', margin: '0 auto', padding: '48px 24px 24px', caretColor: 'var(--accent)' },
'.cm-line': { padding: '0' },
'.cm-cursor': { borderLeftColor: 'var(--accent)', borderLeftWidth: '2px' },
'.cm-selectionBackground': { background: 'rgba(200,169,110,0.25)' },

View File

@@ -302,7 +302,7 @@ textarea { resize: vertical; }
.cm-editor { height: 100%; }
.cm-editor.cm-focused { outline: none; }
.cm-scroller { font-family: 'Georgia', 'Times New Roman', serif; line-height: 1.8; }
.cm-content { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.cm-content { max-width: 680px; margin: 0 auto; padding: 48px 24px 24px; }
.cm-line { padding: 0; margin-bottom: 0.75em; }
.cm-line:last-child { margin-bottom: 0; }
.cm-cursor { border-left-color: var(--accent) !important; }