Skip to content

Commit

Permalink
Better list
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Oct 18, 2023
1 parent 3654179 commit a803d30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions totem/circles/templates/circles/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ <h2 class="h2 text-gray-900 text-lg">{{ event_item.circle.title }}</h2>
</ul>
{% endif %}
<h2 class="h2 pb-5">Upcoming Circles</h2>
<ul role="list" class="grid grid-cols-1 gap-6 sm:grid-cols-2">
<ul role="list"
class="grid sm:grid-cols-2 grid-cols-1 gap-6 pb-5 md:grid-cols-3">
{% for event in events %}
<t-card
<t-card class="sm:m-0 m-auto"
{% if event.circle.image %}image="{{ event.circle.image.url }}"{% endif %}
href="{% url "circles:event_detail" event_slug=event.slug %}">
<span slot="title">{{ event.circle.title }}</span>
Expand Down
2 changes: 1 addition & 1 deletion totem/static/css/styles.css

Large diffs are not rendered by default.

0 comments on commit a803d30

Please sign in to comment.