diff --git a/core/static/core/forms.scss b/core/static/core/forms.scss index e1793a69..be876c9b 100644 --- a/core/static/core/forms.scss +++ b/core/static/core/forms.scss @@ -143,6 +143,15 @@ form { line-height: 1; white-space: nowrap; + .fields-centered { + padding: 10px 10px 0; + display: flex; + flex-direction: row; + flex-wrap: wrap; + gap: var(--nf-input-size) 10px; + justify-content: center; + } + .helptext { margin-top: .25rem; margin-bottom: .25rem; diff --git a/core/static/user/user_edit.scss b/core/static/user/user_edit.scss index 5b20fcee..20995da6 100644 --- a/core/static/user/user_edit.scss +++ b/core/static/user/user_edit.scss @@ -114,15 +114,6 @@ } } - &-fields { - padding: 10px 10px 0; - display: flex; - flex-direction: row; - flex-wrap: wrap; - gap: var(--nf-input-size) 10px; - justify-content: center; - } - &-field { display: flex; flex-wrap: wrap; diff --git a/core/templates/core/user_edit.jinja b/core/templates/core/user_edit.jinja index 2f069da7..46603562 100644 --- a/core/templates/core/user_edit.jinja +++ b/core/templates/core/user_edit.jinja @@ -114,7 +114,7 @@ {# All fields #} -