Keep line breaks in event notes

The note was rendered as plain text, so the browser collapsed the editor's
line breaks into spaces. white-space: pre-line keeps them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-10-23 20:50:03 +02:00
1 parent 76eec0e0f3
commit 79c23e42e1
2 files changed
+4 -1

No files matched your search

@@ -55,9 +55,11 @@
color: var(--color-accent-dark);
}
/* pre-line keeps the editor's line breaks from the plain-text note field. */
.event-note {
margin-top: var(--space-1);
font-size: 0.95rem;
white-space: pre-line;
}
/* In the linked card (home embed) the note is only a teaser: cut after two lines,