From 8175fc415cd8eafc8198ad4f097ea0661336eea1 Mon Sep 17 00:00:00 2001 From: imperosol Date: Sun, 20 Sep 2026 22:37:31 +0200 Subject: [PATCH] add a space between inputs and submit in refill form --- counter/static/counter/css/counter-click.scss | 3 +-- counter/templates/counter/fragments/create_refill.jinja | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/counter/static/counter/css/counter-click.scss b/counter/static/counter/css/counter-click.scss index 00f882bf..64645cde 100644 --- a/counter/static/counter/css/counter-click.scss +++ b/counter/static/counter/css/counter-click.scss @@ -62,8 +62,7 @@ } form { - margin-top: .5rem; - margin-bottom: .5rem; + margin: 0; } } diff --git a/counter/templates/counter/fragments/create_refill.jinja b/counter/templates/counter/fragments/create_refill.jinja index 7de612a3..fff3e965 100644 --- a/counter/templates/counter/fragments/create_refill.jinja +++ b/counter/templates/counter/fragments/create_refill.jinja @@ -4,6 +4,8 @@ hx-swap="outerHTML" > {% csrf_token %} - {{ form.as_p() }} - +
+ {{ form.as_p() }} +
+