Skip to content

Commit

Permalink
Fix: Fix agency link regression (#2599)
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda authored Dec 19, 2024
2 parents d1531bf + 09a4994 commit 42ef555
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions benefits/core/templates/core/includes/agency-links.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<label class="mt-4 d-block fs-base ls-base">{{ agency_name | default:agency.long_name }}</label>
<a class="d-table fs-base ls-base" href="tel:{{ phone | default:agency.phone }}">{{ phone | default:agency.phone }}</a>
<a class="d-table fs-base ls-base" href="{{ info_url | default:agency.info_url }}" target="_blank" rel="noopener noreferrer">{{ info_url | default:agency.info_url }}</a>
<p class="h4 mt-4 d-block">{{ agency_name | default:agency.long_name }}</p>
<a class="d-table mt-1 fs-base ls-base" href="tel:{{ phone | default:agency.phone }}">{{ phone | default:agency.phone }}</a>
<a class="d-table mt-1 fs-base ls-base" href="{{ info_url | default:agency.info_url }}" target="_blank" rel="noopener noreferrer">{{ info_url | default:agency.info_url }}</a>
6 changes: 4 additions & 2 deletions benefits/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ h2,
.h2,
h3,
.h3,
h4 {
h4,
.h4 {
font-weight: var(--bold-font-weight);
margin: 0;
}
Expand Down Expand Up @@ -214,7 +215,8 @@ h3,
}
}

h4 {
h4,
.h4 {
font-size: var(--h4-font-size);
letter-spacing: calc(var(--h4-font-size) * var(--h4-letter-spacing-percent));
line-height: var(--h4-line-height);
Expand Down

0 comments on commit 42ef555

Please sign in to comment.