aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/templates/resources')
-rw-r--r--pyblackbird_cc/templates/resources/resource_card_featured.html4
-rw-r--r--pyblackbird_cc/templates/resources/resource_card_standard.html4
2 files changed, 6 insertions, 2 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_card_featured.html b/pyblackbird_cc/templates/resources/resource_card_featured.html
index 586a851..79ae205 100644
--- a/pyblackbird_cc/templates/resources/resource_card_featured.html
+++ b/pyblackbird_cc/templates/resources/resource_card_featured.html
@@ -24,7 +24,9 @@
{% endif %}
</div>
{% if resource.card_description %}
- <p class="card-text my-2">{{ resource.card_description | markdown | safe }}</p>
+ <div class="my-card-text">
+ <p class="card-text my-2">{{ resource.card_description | markdown | safe }}</p>
+ </div>
{% else %}
<p class="card-text my-2">{{ resource.description | markdown | safe }}</p>
{% endif %}
diff --git a/pyblackbird_cc/templates/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html
index b3d230e..66e77ab 100644
--- a/pyblackbird_cc/templates/resources/resource_card_standard.html
+++ b/pyblackbird_cc/templates/resources/resource_card_standard.html
@@ -32,7 +32,9 @@
<span class="badge bg-info me-2">Feature slot: {{ resource.feature_slot }}</span>
{% endif %}
</div>
- <p>{{ resource.card_description }}</p>
+ <div class="my-card-text my-2">
+ <p>{{ resource.card_description }}</p>
+ </div>
<div class="d-flex flex-row justify-content-between align-items-end mt-2">
<p class="card-text m-1"><small class="text-muted">1 credit</small></p>
<button type="button" class="btn btn-success fs-6 px-2 py-0">Add to basket</button>