Skip to content

Commit 5e5c488

Browse files
committed
improve workshops 'card' display, show location
the markup around time didn't make sense; the <br> tag did nothing because there was a block-level <div> inside of the parent <p>. I made the <div> a <span> and removed the .h5 class which wasn't doing anything since there are already specific styles for this paragraph
1 parent e2ff5b2 commit 5e5c488

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

_includes/workshops/card.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ <h2 class="h4"><a href="{{ workshop.url }}">{{ workshop.title }}</a></h2>
1818
</div>
1919
<div class="col-12 workshop-time">
2020
<h3 class="h5">Time</h3>
21-
<p class="h5">{{ post.startTime }} to {{ post.endTime }}
22-
<br/><div class="timezone">{{ site.data.conf.timezone }} Time</div>
21+
<p>
22+
{{ post.startTime }} to {{ post.endTime }}<br>
23+
<span class="timezone">{{ site.data.conf.timezone }} Time</span>
2324
</p>
2425
</div>
25-
<!--
2626
<div class="col-12">
2727
<h3 class="h5">Location</h3>
2828
<p style="word-break: normal;">{{ location_display }}</p>
2929
</div>
30-
-->
3130
</div>
3231
</div>

0 commit comments

Comments
 (0)