Skip to content

Commit 2ad5c17

Browse files
committed
centered images and added linebreak to work detail
1 parent 7a06808 commit 2ad5c17

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sarahjaine/static_src/scss/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
filter: drop-shadow(0px 0px 2px $light-gray);
120120
margin-top: 2rem;
121121
margin-bottom: 2rem;
122+
text-align: center;
122123
}
123124

124125
.global--circle {

sarahjaine/templates/work_detail.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
{% if project.subtitle_1 %}
2525
<p class="heading--sub">{{ project.subtitle_1 }}</p>
26-
<p>{{ project.paragraph_1 }}</p>
26+
<p>{{ project.paragraph_1|linebreaks }}</p>
2727
{% endif %}
2828

2929
{% if project.video %}
@@ -40,7 +40,7 @@
4040

4141
{% if project.subtitle_2 %}
4242
<p class="heading--sub">{{ project.subtitle_2 }}</p>
43-
<p>{{ project.paragraph_2 }}</p>
43+
<p>{{ project.paragraph_2|linebreaks }}</p>
4444
{% endif %}
4545

4646
{% if project.video and project.image_detail %}
@@ -51,7 +51,7 @@
5151

5252
{% if project.subtitle_3 %}
5353
<p class="heading--sub">{{ project.subtitle_3 }}</p>
54-
<p>{{ project.paragraph_3 }}</p>
54+
<p>{{ project.paragraph_3|linebreaks }}</p>
5555
{% endif %}
5656

5757
<br>

0 commit comments

Comments
 (0)