Skip to content

Commit

Permalink
Use same columns for upcoming and past events.
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccacremona committed Oct 25, 2024
1 parent c118041 commit 165cb5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2 class="h2">Upcoming</h2>
{% endcapture %}
<div class="body-text w-full {% if forloop.first %} py-24 tbl:py-36 {% else %}py-36 {% endif %} border-black {% unless forloop.first %}border-t-1{% endunless %} {% if forloop.last %}border-b-1{% endif %} flex flex-col md:grid md:grid-cols-12 gap-8 md:gap-24 relative">
<span class="label col-span-3">{{ event.date | date: "%m/%d/%y" }}</span>
<span class="col-span-6">{% include arrow-link-inline.html label=linkLabel href=event.url %}</span>
<span class="col-span-7">{% include arrow-link-inline.html label=linkLabel href=event.url %}</span>
</div>
{% endfor %}
</div>
Expand All @@ -80,7 +80,7 @@ <h2 class="h2">Past</h2>
{% endcapture %}
<div class="body-text w-full {% if forloop.first %} pt-24 pb-36 tbl:py-36 {% elsif forloop.last %} pt-24 tbl:pt-36 {% else %} py-24 tbl:py-36 {% endif %}{% unless forloop.first %}border-t-1 {% endunless %} border-black flex flex-col md:grid md:grid-cols-12 gap-8 md:gap-24 relative">
<span class="label col-span-3">{{ event.date | date: "%m/%d/%y" }}</span>
<span class="col-span-8">{% include arrow-link-inline.html label=linkLabel href=event.url %}</span>
<span class="col-span-7">{% include arrow-link-inline.html label=linkLabel href=event.url %}</span>
</div>
{% endfor %}
</div>
Expand Down

0 comments on commit 165cb5c

Please sign in to comment.