Skip to content

Commit

Permalink
style: align headline and body with form fields as shown in Figma
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Apr 19, 2024
1 parent 7bac402 commit 45210f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions benefits/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,12 @@
<div class="row justify-content-center">
{% block headline %}
{% endblock headline %}
{% block explanatory-text-wrapper %}
<div class="col-lg-8">
{% block explanatory-text %}
{% endblock explanatory-text %}
</div>
{% endblock explanatory-text-wrapper %}
</div>
<div class="row justify-content-center">
{% block inner-content %}
Expand Down
14 changes: 10 additions & 4 deletions benefits/eligibility/templates/eligibility/confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@
{% endblock nav-buttons %}

{% block headline %}
<div class="col-lg-8">
<div class="col-lg-6">
<h1>{{ form.headline }}</h1>
</div>
{% endblock headline %}

{% block explanatory-text %}
<p class="pt-4 pb-4">{{ form.blurb }}</p>
{% endblock explanatory-text %}
{% block explanatory-text-wrapper %}
<div class="row justify-content-center">
<div class="col-lg-6">
{% block explanatory-text %}
<p class="pt-4 pb-4">{{ form.blurb }}</p>
{% endblock explanatory-text %}
</div>
</div>
{% endblock explanatory-text-wrapper %}

{% block inner-content %}
<div class="container">
Expand Down

0 comments on commit 45210f6

Please sign in to comment.