diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-20 21:20:56 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-20 21:20:56 +0100 |
commit | 9f09904d56e70c8cf8b0a6b39385dd72b11ec2cb (patch) | |
tree | db59210743518d645f07047d229312a30fc9c6f9 | |
parent | 087ebafdd87cc6513a8b8adec8d188b7096f9ab4 (diff) |
tweak position of button
-rw-r--r-- | alphabetlearning/templates/resources/resource_detail.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alphabetlearning/templates/resources/resource_detail.html b/alphabetlearning/templates/resources/resource_detail.html index edbada1..334f4ed 100644 --- a/alphabetlearning/templates/resources/resource_detail.html +++ b/alphabetlearning/templates/resources/resource_detail.html @@ -47,16 +47,16 @@ </div> </div> <div class="row align-items-end"> - <div class="my-4 d-flex justify-content-center"> + <div class="my-4 d-flex"> {% if resource.in_cart %} <form action="{% url 'payments:add_to_basket' resource.id %}" method="get" accept-charset="utf-8"> - <button class="btn btn-primary w-100" disabled> + <button class="btn btn-primary" disabled> In basket </button> </form> {% else %} <form action="{% url 'payments:add_to_basket' resource.id %}" method="get" accept-charset="utf-8"> - <button class="btn btn-primary w-100"> + <button class="btn btn-primary"> Add to basket </button> </form> |