fix(calendar): Override pre-line inside HTML block elements
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

Prevent white-space: pre-line from rendering source code newlines
inside <p>, <div> and callout elements in HTML-formatted descriptions.
Plain text descriptions still get line break rendering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-02-13 15:24:20 +01:00
parent db660d9c05
commit a42a7ec549

View File

@ -69,6 +69,11 @@
margin-bottom: 0;
}
.event-description p,
.event-description div {
white-space: normal;
}
.event-callout {
display: flex;
align-items: flex-start;
@ -78,6 +83,7 @@
border: 1px solid #bbf7d0;
border-radius: var(--radius-lg);
margin-top: var(--spacing-lg);
white-space: normal;
}
.event-callout svg {