Make font size bigger on profile page

We use 19px for tables almost everywhere now. This is one that escaped
that change.
This commit is contained in:
Chris Hill-Scott
2019-02-11 12:58:54 +00:00
parent 1f2cb07deb
commit cb866ecc7b

View File

@@ -10,40 +10,42 @@
<h1 class="heading-large">Your profile</h1> <h1 class="heading-large">Your profile</h1>
{% call mapping_table( <div class="body-copy-table">
caption='Your profile', {% call mapping_table(
field_headings=['Label', 'Value', 'Action'], caption='Your profile',
field_headings_visible=False, field_headings=['Label', 'Value', 'Action'],
caption_visible=False field_headings_visible=False,
) %} caption_visible=False
{% call row() %} ) %}
{{ text_field('Name') }} {% call row() %}
{{ text_field(current_user.name) }} {{ text_field('Name') }}
{{ edit_field('Change', url_for('.user_profile_name')) }} {{ text_field(current_user.name) }}
{% endcall %} {{ edit_field('Change', url_for('.user_profile_name')) }}
{% endcall %}
{% call row() %} {% call row() %}
{{ text_field('Email address') }} {{ text_field('Email address') }}
{{ text_field(current_user.email_address) }} {{ text_field(current_user.email_address) }}
{% if can_see_edit %} {% if can_see_edit %}
{{ edit_field('Change', url_for('.user_profile_email')) }} {{ edit_field('Change', url_for('.user_profile_email')) }}
{% else %} {% else %}
{{ text_field('') }} {{ text_field('') }}
{% endif %} {% endif %}
{% endcall %} {% endcall %}
{% call row() %} {% call row() %}
{{ text_field('Mobile number') }} {{ text_field('Mobile number') }}
{{ optional_text_field(current_user.mobile_number) }} {{ optional_text_field(current_user.mobile_number) }}
{{ edit_field('Change', url_for('.user_profile_mobile_number')) }} {{ edit_field('Change', url_for('.user_profile_mobile_number')) }}
{% endcall %} {% endcall %}
{% call row() %} {% call row() %}
{{ text_field('Password') }} {{ text_field('Password') }}
{{ text_field('Last changed ' + current_user.password_changed_at|format_delta) }} {{ text_field('Last changed ' + current_user.password_changed_at|format_delta) }}
{{ edit_field('Change', url_for('.user_profile_password')) }} {{ edit_field('Change', url_for('.user_profile_password')) }}
{% endcall %} {% endcall %}
{% endcall %} {% endcall %}
</div>
{% endblock %} {% endblock %}