From 0b5b7896c360c5931f4ff250e2b6663cb133c07d 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 error flex 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 }}