Skip to content

Commit 9bb4cb0

Browse files
Add missing classes
1 parent 6997960 commit 9bb4cb0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

cfgov/regulations3k/jinja2/regulations3k/regulations-listing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h4>{{ value.heading or 'Table of contents' }}</h4>
2424
{% for regulation in regulations %}
2525
<li class="m-list__item">
2626
<a class="a-link a-link--jump" href="{{ regulation.url }}">
27-
{{ regulation.title }}
27+
<span class="a-link__text">{{ regulation.title }}</span>
2828
</a>
2929
{% if regulation.regulation.future_versions %}
3030
<div class="new-version">
@@ -33,7 +33,7 @@ <h5>New amendments effective</h5>
3333
{% for version in regulation.regulation.future_versions %}
3434
<li class="m-list__item">
3535
<a class="a-link a-link--jump" href="{{ regulation.url }}{{ version.effective_date|string }}/">
36-
{{ ap_date(version.effective_date) }}
36+
<span class="a-link__text">{{ ap_date(version.effective_date) }}</span>
3737
</a>
3838
</li>
3939
{% endfor %}

cfgov/unprocessed/apps/regulations3k/css/reg-listing.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
#regulations-listing {
1010
// TODO - Standardize a nested list link pattern.
1111
.new-version {
12+
margin-top: math.div(10px, $base-font-size-px) + rem;
13+
1214
h5 {
13-
margin-top: math.div(10px, $base-font-size-px) + rem;
1415
margin-bottom: math.div(10px, $base-font-size-px) + rem;
1516
}
1617

0 commit comments

Comments
 (0)