Skip to content

Commit

Permalink
Merge pull request #8578 from cfpb/ans_prepaid_remove_h2
Browse files Browse the repository at this point in the history
Remove h2s from prepaid agreements
  • Loading branch information
anselmbradford authored Sep 13, 2024
2 parents 1de9b7c + a5a7a93 commit 9cd34ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
10 changes: 5 additions & 5 deletions cfgov/prepaid_agreements/jinja2/prepaid_agreements/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ <h1>{{ product.name }}</h1>
<div class="content-l">
<div class="content-l__col content-l__col-1-2">
<dl>
<dt><h2>Issuer name</h2></dt>
<dt>Issuer name</dt>
<dd>{{ product.issuer_name }}</dd>
<dt><h2>Prepaid product type</h2></dt>
<dt>Prepaid product type</dt>
<dd>{{ product.prepaid_type if product.prepaid_type else default_text }}</dd>
</dl>
</div>
<div class="content-l__col content-l__col-1-2">
<dl>
<dt><h2>Program manager</h2></dt>
<dt>Program manager</dt>
<dd>{{ product.program_manager if product.program_manager else default_text }}</dd>
<dt><h2>Current status</h2></dt>
<dt>Current status</dt>
<dd>{{ product.status if product.status else default_text }}</dd>
</dl>
</div>
</div>
<dl>
<dt><h2>Other relevant parties</h2></dt>
<dt>Other relevant parties</dt>
<dd>
{% if product.other_relevant_parties %}
{% if product.other_relevant_parties | length > 500 %}
Expand Down
14 changes: 0 additions & 14 deletions cfgov/unprocessed/apps/prepaid-agreements/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@
// Override for h4 margin.
margin-bottom: math.div(math.div($grid-gutter-width, 6), $base-font-size-px) +
em;

&:last-of-type {
margin-bottom: math.div(
math.div($grid-gutter-width, 6),
$base-font-size-px
) + em;
}
}

dd + dt {
Expand Down Expand Up @@ -104,13 +97,6 @@
}

.prepaid-agreements-detail {
dt h2 {
@include h4;
// Override for h4 margin.
margin-bottom: math.div(math.div($grid-gutter-width, 6), $base-font-size-px) +
em;
}

dd {
margin-bottom: math.div(
math.div($grid-gutter-width, 1.5),
Expand Down

0 comments on commit 9cd34ed

Please sign in to comment.