From cb860d8de2489c3da25e3ad708864167210f6de9 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Tue, 4 Jan 2022 12:00:39 +0100 Subject: [PATCH] keep padding when there is multiple tab --- basetheme_bootstrap/templates/registration/account.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basetheme_bootstrap/templates/registration/account.html b/basetheme_bootstrap/templates/registration/account.html index 5a25be7..a0c9484 100644 --- a/basetheme_bootstrap/templates/registration/account.html +++ b/basetheme_bootstrap/templates/registration/account.html @@ -53,7 +53,7 @@ {%endif%} {%endif%} </div> - <div class="card-body panel-body pt-0"> + <div class="card-body panel-body{% if form_prefs and not form_prefs.preferences_groups %} pt-0{%endif%}"> <button class="btn btn-primary {{btn_classes}}" type="submit">{%trans "Save my preferences"%} </button> </div> -- GitLab