Skip to content

Commit

Permalink
fix event descriptions to respect whitespace (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzacsh authored Jun 24, 2022
1 parent 3bb5ed1 commit 670918f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Calendars/Event.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Event extends React.PureComponent {
<div><u>{this.props.item.location}</u></div>
</PimItemHeader>
<div style={style.content}>
<p style={{ wordWrap: "break-word" }}>{this.props.item.description}</p>
<p style={{ wordWrap: "break-word", whiteSpace: "pre-wrap" }}>{this.props.item.description}</p>
{(this.props.item.attendees.length > 0) && (
<div>Attendees: {this.props.item.attendees.map((x) => (x.getFirstValue())).join(", ")}</div>)}
</div>
Expand Down

0 comments on commit 670918f

Please sign in to comment.