fixed padding

This commit is contained in:
nicolas 2021-06-30 00:16:25 +02:00
parent 7568071334
commit ae3aa275f7

View file

@ -61,24 +61,24 @@ export default class CalEventParser {
public getRichDescriptionHtml(): string { public getRichDescriptionHtml(): string {
return ( return (
` `
<strong>Event Type:</strong><br /> <strong>Event Type:</strong><br />
${this.calEvent.type}<br /> ${this.calEvent.type}<br />
<br /> <br />
<strong>Invitee Email:</strong><br /> <strong>Invitee Email:</strong><br />
<a href="mailto:${this.calEvent.attendees[0].email}">${this.calEvent.attendees[0].email}</a><br /> <a href="mailto:${this.calEvent.attendees[0].email}">${this.calEvent.attendees[0].email}</a><br />
<br />` + <br />` +
(this.calEvent.location (this.calEvent.location
? ` ? `
<strong>Location:</strong><br /> <strong>Location:</strong><br />
${this.calEvent.location}<br /> ${this.calEvent.location}<br />
<br /> <br />
` `
: "") + : "") +
`<strong>Invitee Time Zone:</strong><br /> `<strong>Invitee Time Zone:</strong><br />
${this.calEvent.attendees[0].timeZone}<br /> ${this.calEvent.attendees[0].timeZone}<br />
<br /> <br />
<strong>Additional notes:</strong><br /> <strong>Additional notes:</strong><br />
${this.calEvent.description} ${this.calEvent.description}
` + ` +
this.getChangeEventFooterHtml() this.getChangeEventFooterHtml()
); );