From ae975ed9f8812ecb27fac7d87ca1c6d96f1110f9 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Mon, 25 Nov 2024 19:46:53 -0700 Subject: [PATCH 1/6] Updated all error messages to have error icon --- .../templates/includes/input_with_errors.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/registrar/templates/includes/input_with_errors.html b/src/registrar/templates/includes/input_with_errors.html index d1e53968e..98328612c 100644 --- a/src/registrar/templates/includes/input_with_errors.html +++ b/src/registrar/templates/includes/input_with_errors.html @@ -52,9 +52,14 @@ error messages, if necessary. {% if field.errors %}
{% for error in field.errors %} - - {{ error }} - + {% endfor %}
{% endif %} From 14071d00b6c5a104d5e851214a5d719e904a0365 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Tue, 26 Nov 2024 14:26:37 -0700 Subject: [PATCH 2/6] icon size change --- src/registrar/assets/sass/_theme/_alerts.scss | 5 +++++ src/registrar/templates/includes/input_with_errors.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/registrar/assets/sass/_theme/_alerts.scss b/src/registrar/assets/sass/_theme/_alerts.scss index 3cfa768fe..bd3eb9454 100644 --- a/src/registrar/assets/sass/_theme/_alerts.scss +++ b/src/registrar/assets/sass/_theme/_alerts.scss @@ -51,3 +51,8 @@ .usa-site-alert--hot-pink .usa-alert .usa-alert__body::before { background-image: url('../img/usa-icons-bg/error.svg'); } + +.usa-icon-large { + width: 1.5em; + height: 1.5em; +} \ No newline at end of file diff --git a/src/registrar/templates/includes/input_with_errors.html b/src/registrar/templates/includes/input_with_errors.html index 98328612c..9025ea0b4 100644 --- a/src/registrar/templates/includes/input_with_errors.html +++ b/src/registrar/templates/includes/input_with_errors.html @@ -54,7 +54,7 @@ error messages, if necessary. {% for error in field.errors %}