Skip to content

Commit

Permalink
Updated modal.js for bodyText centering
Browse files Browse the repository at this point in the history
  • Loading branch information
harryfear authored Jun 28, 2024
1 parent e6e4c67 commit fb3c97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
box-sizing: border-box;
">
<h1 style="color: ${this.config.textColor}; margin-bottom: 1rem; font-size: 3rem;">${this.config.heading}</h1>
<p style="color: ${this.config.textColor}; margin-bottom: 1.5rem; font-size: 1.5rem;">${bodyTextWithBreaks}</p>
<p style="color: ${this.config.textColor}; margin-bottom: 1.5rem; font-size: 1.5rem; text-align: center;">${bodyTextWithBreaks}</p>
<button class="notice-board-modal-button" style="
border: none;
padding: ${this.config.ctaByline ? '1.3rem 1.5rem' : '0.75rem 1.5rem'};
Expand Down

0 comments on commit fb3c97f

Please sign in to comment.