From b3c61e85280652d003b1c14c2326f7d4cc25485a Mon Sep 17 00:00:00 2001 From: jantoun-scottlogic Date: Mon, 29 Jul 2024 15:41:55 +0100 Subject: [PATCH] Add class to center error text in errorflex boxes --- .../carbon-estimator-form.component.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/carbon-estimator-form/carbon-estimator-form.component.html b/src/app/carbon-estimator-form/carbon-estimator-form.component.html index d2febd9..9d1d37e 100644 --- a/src/app/carbon-estimator-form/carbon-estimator-form.component.html +++ b/src/app/carbon-estimator-form/carbon-estimator-form.component.html @@ -85,7 +85,7 @@ required [attr.aria-describedby]="(numberOfServers | invalidated) ? 'numberOfServersError' : null" /> @if (numberOfServers | invalidated) { -
+
error

{{ errorConfig.numberOfServers.errorMessage }}

@@ -214,7 +214,10 @@ required [attr.aria-describedby]="(monthlyActiveUsers | invalidated) ? 'monthlyActiveUsersError' : null" /> @if (monthlyActiveUsers | invalidated) { -
+
error

{{ errorConfig.monthlyActiveUsers.errorMessage }}