1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Fix calendar event description not preserving line breaks (#30329)

Add `white-space: pre-line` to the event description style so that
newlines in the calendar event description are rendered correctly
instead of being collapsed into a single line.
This commit is contained in:
sir-Unknown
2026-03-26 07:01:02 +01:00
committed by GitHub
parent 87758cc228
commit 5c6dd2a697

View File

@@ -271,6 +271,7 @@ class DialogCalendarEventDetail extends LitElement {
color: var(--secondary-text-color);
max-width: 300px;
overflow-wrap: break-word;
white-space: pre-line;
}
`,
];