diff --git a/core/profiles/demo_umami/themes/umami/css/classy/components/form.css b/core/profiles/demo_umami/themes/umami/css/classy/components/form.css index 61af1e1849de51e6798a44cb7ba201cae959bccc..7d8882bed201695f04bb96ed82f504c26818681b 100644 --- a/core/profiles/demo_umami/themes/umami/css/classy/components/form.css +++ b/core/profiles/demo_umami/themes/umami/css/classy/components/form.css @@ -93,6 +93,9 @@ abbr.ajax-changed { } /* Inline error messages. */ +.form-item-errors { + font-weight: bold; +} .form-item--error-message:before { display: inline-block; width: 14px; diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-wrapper.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-wrapper.html.twig index 5b52f2daa380f2ef7bb1a0cc15f433c47b2713ff..bdc2f386c2ea83d708e480d5ba4c150aacb3c49c 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-wrapper.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-wrapper.html.twig @@ -25,8 +25,8 @@ {% endif %} {{ content }} {% if errors %} - <div class="form-item--error-message"> - <strong>{{ errors }}</strong> + <div class="form-item--error-message form-item-errors"> + {{ errors }} </div> {% endif %} {% if description %} diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/form/details.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/form/details.html.twig index c554096da9d785597c6e1e2c317e940002430981..3f6e8ddf05c9e20a5b5c06dc174b70df9c804a06 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/form/details.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/form/details.html.twig @@ -27,8 +27,8 @@ {%- endif -%} <div class="details-wrapper"> {% if errors %} - <div class="form-item--error-message"> - <strong>{{ errors }}</strong> + <div class="form-item--error-message form-item-errors"> + {{ errors }} </div> {% endif %} {%- if description -%} diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig index 93b5f54d8964c748ddce16a004bb78f2b21abc5f..3744839b6b55b85357f2846f2d12c3c47ec1435b 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig @@ -50,8 +50,8 @@ <div{{ description.attributes.addClass('description') }}>{{ description.content }}</div> {% endif %} {% if errors %} - <div class="form-item--error-message"> - <strong>{{ errors }}</strong> + <div class="form-item--error-message form-item-errors"> + {{ errors }} </div> {% endif %} {% if prefix %} diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/form/form-element.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/form/form-element.html.twig index 3bde4f711545eb771de7e4df4815bd726b818153..cb512f4582bc7f4d065779f868c4e2651e9238cd 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/form/form-element.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/form/form-element.html.twig @@ -83,8 +83,8 @@ {{ label }} {% endif %} {% if errors %} - <div class="form-item--error-message"> - <strong>{{ errors }}</strong> + <div class="form-item--error-message form-item-errors"> + {{ errors }} </div> {% endif %} {% if description_display in ['after', 'invisible'] and description.content %}