Skip to content

Commit 36c67f0

Browse files
committed
chore: add margin to description text
Ensure margin above and below the view invitation button is consistent
1 parent 6b724d5 commit 36c67f0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/views/workshop_invitation_mailer/attending.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
%p #{humanize_date(@workshop.date_and_time, @workshop.ends_at, with_time: true)}
3939
= link_to 'Update your attendance', full_url_for(invitation_url(@invitation)), class: 'btn'
4040
- if @workshop.description.present?
41-
%p
41+
%p{ style: 'margin-top: 10px;' }
4242
%strong Description:
4343
= @workshop.description
4444

app/views/workshop_invitation_mailer/attending_reminder.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
%p #{humanize_date(@workshop.date_and_time, @workshop.ends_at, with_time: true)}
3434
= link_to 'Update your attendance', full_url_for(invitation_url(@invitation)), class: 'btn'
3535
- if @workshop.description.present?
36-
%p
36+
%p{ style: 'margin-top: 10px;' }
3737
%strong Description:
3838
= @workshop.description
3939

app/views/workshop_invitation_mailer/invite_coach.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
%small #{humanize_date(@workshop.date_and_time, @workshop.ends_at, with_time: true)}
4040
= link_to 'View invitation and RSVP', full_url_for(invitation_url(@invitation)), class: 'btn'
4141
- if @workshop.description.present?
42-
%p
42+
%p{ style: 'margin-top: 15px;' }
4343
%strong Description:
4444
= @workshop.description
4545
%td{ width: '40%', style: 'vertical-align: top;'}

app/views/workshop_invitation_mailer/invite_student.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
%small #{humanize_date(@workshop.date_and_time, @workshop.ends_at, with_time: true)}
3737
= link_to 'View invitation and RSVP', full_url_for(invitation_url(@invitation)), class: 'btn'
3838
- if @workshop.description.present?
39-
%p
39+
%p{ style: 'margin-top: 15px;' }
4040
%strong Description:
4141
= @workshop.description
4242
%td{ width: '40%', style: 'vertical-align: top;'}

0 commit comments

Comments
 (0)