Skip to content

Commit

Permalink
Merge pull request #8576 from cfpb/ans_short_desc
Browse files Browse the repository at this point in the history
Remove `short-desc` CSS class
  • Loading branch information
anselmbradford authored Sep 12, 2024
2 parents c987c22 + 5bc75ef commit f860998
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cfgov/jobmanager/jinja2/jobmanager/job_listing_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ <h3>Current openings</h3>
View all job openings
</a>
{% else %}
<h3 class='short-desc'>There are no current openings at this time.</h3>
<h3>There are no current openings at this time.</h3>
{% endif %}
</div>
4 changes: 2 additions & 2 deletions cfgov/retirement_api/jinja2/retirement_api/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h4>
<h2>
my Social Security
</h2>
<p class="short-desc">
<p>
{{ _("Create a <em>my</em> Social Security account to review your expected benefits based on your actual Social Security record.") }}
</p>
<a href="https://www.ssa.gov/myaccount/" class="a-btn a-btn--full">
Expand All @@ -110,7 +110,7 @@ <h2>
<h2>
{{ _("Get in touch") }}
</h2>
<p class="short-desc">
<p>
{{ _("You can send feedback or questions to") }} <a href="mailto:[email protected]">[email protected]</a>.
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
@include h4;
// Override for h4 margin.
margin: 0;

.short-desc {
display: block;
font-size: $base-font-size-px;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion cfgov/v1/jinja2/v1/includes/organisms/chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h3>{{ value.title }}</h3>
{% if value.description %}{{ value.description }}{% endif %}
</div>

<p class="m-chart-footnote block--sub block--border-top block short-desc">
<p class="m-chart-footnote block--sub block--border-top block">
<strong>Source:</strong> CFPB Consumer Credit Panel<br>
<strong>Date published:</strong> {{ value.date_published.strftime('%B %Y') }}<br>

Expand Down
2 changes: 1 addition & 1 deletion cfgov/v1/jinja2/v1/includes/organisms/mortgage-chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h3 id="mp-line-chart-title">Percentage of mortgages {{ time_frame_styled }} {%
id="mp-line-chart">
{{ value.description }}
</div>
<p class="m-chart-footnote block block--sub block--border-top short-desc">
<p class="m-chart-footnote block block--sub block--border-top">
<strong>Source:</strong> National Mortgage Database<br>
<strong>Date published:</strong> {{ pub_date_formatted }}<br>
<strong>Downloads:</strong> CSV files with data by <a href="{{ state_meta['url'] }}">state</a> ({{ state_meta['size'] }}), <a href="{{ metro_meta['url'] }}">metro and non-metro areas</a> ({{ metro_meta['size'] }}), or <a href="{{ county_meta['url'] }}">county</a> ({{ county_meta['size'] }}).<br>
Expand Down
2 changes: 1 addition & 1 deletion cfgov/v1/jinja2/v1/includes/organisms/mortgage-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ <h3 id="mp-map-title">Percentage of mortgages {% if time_frame == '90' %} at lea
</g>
</svg>
</div>
<p class="m-chart-footnote block block--sub short-desc">
<p class="m-chart-footnote block block--sub">
<strong>Source:</strong> National Mortgage Database<br>
<strong>Date published:</strong> {{ pub_date_formatted }}<br>
<strong>Downloads:</strong> CSV files with data by <a href="{{ state_meta['url'] }}">state</a> ({{ state_meta['size'] }}), <a href="{{ metro_meta['url'] }}">metro and non-metro areas</a> ({{ metro_meta['size'] }}), or <a href="{{ county_meta['url'] }}">county</a> ({{ county_meta['size'] }}).<br>
Expand Down
2 changes: 1 addition & 1 deletion cfgov/v1/jinja2/v1/includes/organisms/simple-chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h5>Figure {{ value.figure_number }}</h5>
>
</div>
<div class="o-simple-chart__tilemap-legend"></div>
<p class="m-chart-footnote block block--sub block--border-top short-desc">
<p class="m-chart-footnote block block--sub block--border-top">
{% if value.source_credits %}<strong>Source:</strong> {{value.source_credits}}<br>{% endif %}
{% if value.date_published %}<strong>Date Published:</strong> {{value.date_published}}<br>{% endif %}
{% if value.download_text %}
Expand Down

0 comments on commit f860998

Please sign in to comment.