From 66aa93d488e07d2983cdd2719f3289ab5b984a79 Mon Sep 17 00:00:00 2001 From: imperosol Date: Thu, 28 Nov 2024 12:15:32 +0100 Subject: [PATCH] cleaner spaces --- core/static/core/style.scss | 3 +++ .../templates/subscription/fragments/creation_form.jinja | 2 +- .../templates/subscription/fragments/creation_success.jinja | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) 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.