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:
committed by
Bram Kragten
parent
87758cc228
commit
99636c9719
@@ -271,6 +271,7 @@ class DialogCalendarEventDetail extends LitElement {
|
||||
color: var(--secondary-text-color);
|
||||
max-width: 300px;
|
||||
overflow-wrap: break-word;
|
||||
white-space: pre-line;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user