diff options
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_card_standard.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_card_standard.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html index bdc3325..68ea0dc 100644 --- a/pyblackbird_cc/templates/resources/resource_card_standard.html +++ b/pyblackbird_cc/templates/resources/resource_card_standard.html @@ -2,9 +2,10 @@ {% load markdown_extras %} <!-- Card 1 --> -<div class="col-md-6 mb-3"> - <div class="card mx-2 mt-2 my-card-shadow-sm" style="border-color: {{ resource.main_resource_category_colour_css_class }}; border-width: 1px;" onmouseover="this.classList.add('my-card-shadow-lg')" onmouseout="this.classList.remove('my-card-shadow-lg')"> +<div class="card mx-2 mt-2 my-card-shadow-sm" + style="border-color: {{ resource.main_resource_category_colour_css_class }}; border-width: 1px;" + onmouseover="this.classList.add('my-card-shadow-lg')" onmouseout="this.classList.remove('my-card-shadow-lg')"> <div class="row g-0"> <div class="col-4"> <img class="img-fluid rounded-start" @@ -15,7 +16,8 @@ <div class="card-body"> <div class="d-flex flex-row justify-content-start align-items-center"> <h5 class="card-title"><a - href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}</a></h5> + href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}</a> + </h5> </div> <div class="d-flex flex-row justify-content-start align-items-center mt-2"> <span class="badge bg-secondary me-2">{{ resource.age_range }}</span> @@ -44,6 +46,5 @@ </div> {% endif %} </div> -</div> </div>
\ No newline at end of file |