aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/resource_card_featured.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-14 21:05:44 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-14 21:05:44 +0100
commit1cb215828f193ec4bac25f4dabb08c9aadc34ede (patch)
tree926e2c16ce6130d43401d4e084de8e19eeb3e12d /pyblackbird_cc/templates/resources/resource_card_featured.html
parent8a13e1543334f86803cd9909ba3fa5d4619074c0 (diff)
Changed the colour of the card description test
- Uses my own CSS class - technical stuff
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_card_featured.html')
-rw-r--r--pyblackbird_cc/templates/resources/resource_card_featured.html4
1 files changed, 3 insertions, 1 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 %}