From 01b6880d39c17bf0500eef8c49061cbba1f13449 Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Thu, 19 Dec 2024 00:27:03 +0000 Subject: [PATCH 1/2] fix(agency-links): create .h4 class, use for agency links --- benefits/core/templates/core/includes/agency-links.html | 6 +++--- benefits/static/css/styles.css | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/benefits/core/templates/core/includes/agency-links.html b/benefits/core/templates/core/includes/agency-links.html index 56fa6e5c45..1b7dc0428a 100644 --- a/benefits/core/templates/core/includes/agency-links.html +++ b/benefits/core/templates/core/includes/agency-links.html @@ -1,3 +1,3 @@ - -{{ phone | default:agency.phone }} -{{ info_url | default:agency.info_url }} +

{{ agency_name | default:agency.long_name }}

+{{ phone | default:agency.phone }} +{{ info_url | default:agency.info_url }} diff --git a/benefits/static/css/styles.css b/benefits/static/css/styles.css index 633d77cf52..5ba38a040c 100644 --- a/benefits/static/css/styles.css +++ b/benefits/static/css/styles.css @@ -129,7 +129,8 @@ h2, .h2, h3, .h3, -h4 { +h4, +.h4 { font-weight: var(--bold-font-weight); margin: 0; } @@ -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); From 09a49947295354cfc5b7bfade5ec6987a3109aac Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Thu, 19 Dec 2024 00:35:46 +0000 Subject: [PATCH 2/2] fix: remove unnecessary classes --- benefits/core/templates/core/includes/agency-links.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benefits/core/templates/core/includes/agency-links.html b/benefits/core/templates/core/includes/agency-links.html index 1b7dc0428a..c9a433e7e7 100644 --- a/benefits/core/templates/core/includes/agency-links.html +++ b/benefits/core/templates/core/includes/agency-links.html @@ -1,3 +1,3 @@ -

{{ agency_name | default:agency.long_name }}

+

{{ agency_name | default:agency.long_name }}

{{ phone | default:agency.phone }} {{ info_url | default:agency.info_url }}