aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyblackbird_cc/templates/resources/resource_list.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html
index 7fdd092..88c6a79 100644
--- a/pyblackbird_cc/templates/resources/resource_list.html
+++ b/pyblackbird_cc/templates/resources/resource_list.html
@@ -45,13 +45,12 @@
</div>
<div class="d-flex flex-row justify-content-between flex-wrap">
{% for resource in featured_resources %}
- <div class="card mx-2 mt-2" style="width: 22rem;">
+ <div class="card mx-2 mt-2" style="width: 24rem;">
<img class="card-img-top"
src="{{ resource.thumbnail_urls|first }}"
alt="{{ resource.thumbnail_filename }}" />
<div class="card-body">
- <a href="{% url 'resources:resource_detail' resource_id=resource.id %}" class="stretched-link"></a>
- <h5 class="card-title">{{ resource.name }}</h5>
+ <h5 class="card-title"><a href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}</a></h5>
<div class="d-flex flex-row justify-content-start align-content-center">
<div>
<span class="badge bg-danger me-2">{{ resource.main_resource_category_name }}</span>
@@ -99,8 +98,7 @@
src="{{ resource.thumbnail_urls|first }}"
alt="{{ resource.thumbnail_filename }}" />
<div class="card-body">
- <a href="{% url 'resources:resource_detail' resource_id=resource.id %}" class="stretched-link"></a>
- <h5 class="card-title">{{ resource.name }}</h5>
+ <h5 class="card-title"><a href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}</a></h5>
<div class="d-flex flex-row justify-content-start align-content-center">
<div>
<span class="badge bg-danger me-2">{{ resource.main_resource_category_name }}</span>