Skip to content

Commit 670918f

Browse files
authored
fix event descriptions to respect whitespace (#234)
1 parent 3bb5ed1 commit 670918f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Calendars/Event.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Event extends React.PureComponent {
3535
<div><u>{this.props.item.location}</u></div>
3636
</PimItemHeader>
3737
<div style={style.content}>
38-
<p style={{ wordWrap: "break-word" }}>{this.props.item.description}</p>
38+
<p style={{ wordWrap: "break-word", whiteSpace: "pre-wrap" }}>{this.props.item.description}</p>
3939
{(this.props.item.attendees.length > 0) && (
4040
<div>Attendees: {this.props.item.attendees.map((x) => (x.getFirstValue())).join(", ")}</div>)}
4141
</div>

0 commit comments

Comments
 (0)