diff --git a/core/static/core/style.scss b/core/static/core/style.scss index 664c1b99..dc9e85d7 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -262,8 +262,10 @@ a:not(.button) { font-weight: normal; color: white; padding: 9px 13px; + margin: 3px; border: none; text-decoration: none; + text-align: center; border-radius: 5px; &.btn-blue { @@ -367,6 +369,7 @@ a:not(.button) { .alert-aside { display: flex; flex-direction: column; + gap: 5px; } } diff --git a/subscription/templates/subscription/fragments/creation_form.jinja b/subscription/templates/subscription/fragments/creation_form.jinja index 27aab82b..92f4c1a3 100644 --- a/subscription/templates/subscription/fragments/creation_form.jinja +++ b/subscription/templates/subscription/fragments/creation_form.jinja @@ -5,6 +5,6 @@ hx-swap="outerHTML" > {% csrf_token %} - {{ form.as_div() }} + {{ form.as_p() }} diff --git a/subscription/templates/subscription/fragments/creation_success.jinja b/subscription/templates/subscription/fragments/creation_success.jinja index a8b83b5a..41b78ee9 100644 --- a/subscription/templates/subscription/fragments/creation_success.jinja +++ b/subscription/templates/subscription/fragments/creation_success.jinja @@ -15,7 +15,6 @@ {% trans %}Go to user profile{% endtrans %} -
{# We don't know if this fragment is displayed after creating a subscription for a previously existing user or for a newly created one.