From 58aeb72afa6f28ead18888d47438e0704a424e23 Mon Sep 17 00:00:00 2001 From: Joachim Date: Wed, 21 Apr 2021 17:23:48 +0200 Subject: [PATCH] Move card footer container inside the card-footer component --- bookwyrm/templates/components/card.html | 6 +-- .../templates/moderation/report_preview.html | 38 ++++++++++--------- bookwyrm/templates/snippets/goal_card.html | 12 +++--- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/bookwyrm/templates/components/card.html b/bookwyrm/templates/components/card.html index f1104893a..7dc3e1b04 100644 --- a/bookwyrm/templates/components/card.html +++ b/bookwyrm/templates/components/card.html @@ -11,10 +11,8 @@ {% endif %} - + {% block card-footer %} + {% endblock %} {% block card-bonus %} {% endblock %} diff --git a/bookwyrm/templates/moderation/report_preview.html b/bookwyrm/templates/moderation/report_preview.html index 363783d50..936c04b8f 100644 --- a/bookwyrm/templates/moderation/report_preview.html +++ b/bookwyrm/templates/moderation/report_preview.html @@ -16,22 +16,24 @@ {% endblock %} {% block card-footer %} - - - + {% endblock %} diff --git a/bookwyrm/templates/snippets/goal_card.html b/bookwyrm/templates/snippets/goal_card.html index 329fea542..5014b81cf 100644 --- a/bookwyrm/templates/snippets/goal_card.html +++ b/bookwyrm/templates/snippets/goal_card.html @@ -17,9 +17,11 @@ {% endblock %} {% block card-footer %} - + {% endblock %}