From b40999c6462f6a1fec37015e6c0158c87685573a Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Fri, 17 Jan 2025 13:42:59 -0800 Subject: [PATCH] adjust styling and content cards --- app/assets/sass/uswds/_legacy-styles.scss | 2 +- .../views/about/why-text-messaging.html | 24 ++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/app/assets/sass/uswds/_legacy-styles.scss b/app/assets/sass/uswds/_legacy-styles.scss index 85da173213..4af2cc6f6f 100644 --- a/app/assets/sass/uswds/_legacy-styles.scss +++ b/app/assets/sass/uswds/_legacy-styles.scss @@ -8,7 +8,7 @@ width: 100%; max-width: 464px; box-sizing: border-box; - padding: units(1); + padding: units(2); background: color('gray-cool-10'); border: 1px solid color('gray-cool-10'); border-radius: 5px; diff --git a/app/templates/views/about/why-text-messaging.html b/app/templates/views/about/why-text-messaging.html index d1b881b7cb..c0d6a29a15 100644 --- a/app/templates/views/about/why-text-messaging.html +++ b/app/templates/views/about/why-text-messaging.html @@ -51,35 +51,37 @@

What texting is best for

{ "image_src": asset_url('images/calendar.svg'), "card_heading": "Reminders", - "p_text": "In a text bubble // Your Quality Control food phone interview is on ((date)) at ((time)). Failure to + "p_text": "Your Quality Control food phone interview is on ((date)) at ((time)). Failure to attend may lead to closure of your benefits. Call 1-800-222-3333 with questions.", "alt_text": "reminder text example" }, { "image_src": asset_url('images/alert.svg'), "card_heading": "Alerts to take action", - "p_text": "In a text bubble // Your household's Medicaid coverage is expiring. To keep getting Medicaid, you must + "p_text": "Your household's Medicaid coverage is expiring. To keep getting Medicaid, you must complete your renewal by ((date)). You can renew online at dhs.state.gov…", "alt_text": "alerts text example" }, { "image_src": asset_url('images/alarm.svg'), "card_heading": "Important status updates", - "p_text": "In a text bubble // Your passport has been issued at the Los Angeles Passport Agency. Please come to the + "p_text": "Your passport has been issued at the Los Angeles Passport Agency. Please come to the desk between 1:30pm and 2:30pm today to pick up your passport…", "alt_text": "status update text example" }, ] %} {% for item in card_contents %} -
-
-
-

{{item.card_heading}}

-

{{item.p_text}}

+
+

{{item.card_heading}}

+
+
+

{{item.p_text}}

+
+
+ {% if item.image_src %} + {{ item.alt_text }} + {% endif %}
- {% if item.image_src %} - {{ item.alt_text }} - {% endif %}
{% endfor %}