UI: 2024 Hero component options #103971

Merged
Márton Lente merged 66 commits from ui/2024-hero-options into main 2024-09-24 13:00:31 +02:00
2 changed files with 16 additions and 1 deletions
Showing only changes of commit 1c5f7038f5 - Show all commits

View File

@ -213,3 +213,18 @@ button.going-star
.form-submit-dl .form-submit-dl
dd dd
font-family: var(--font-family-body) font-family: var(--font-family-body)
/* Web Assets overrides. */
.form-group
&.form-group-profile
display: block
// TODO: check component form-check in Web Assets v2
.form-check
+padding(5, left)
.form-check-input
transform: scale(1.5) translateX(calc(var(--spacer) * -1))
.form-group
display: block

View File

@ -17,7 +17,7 @@ a.btn.float-right.d-inline(href="{% url 'profile_detail' pk=user.profile.pk %}")
| so that we can have your badge ready for you at the registration desk. | so that we can have your badge ready for you at the registration desk.
form(action="{% url 'profile_update' %}", method="post", enctype="multipart/form-data") form(action="{% url 'profile_update' %}", method="post", enctype="multipart/form-data")
.form-group .form-group.form-group-profile
| {% csrf_token %} | {% csrf_token %}
| {{ form | crispy }} | {{ form | crispy }}