Skip to content

Scheduling infrastructure for absolutely everyone.

Onboarding, input validation error isn't positioned correctly (#4758)

GitStartf3e2cf5075c9
diff --git a/apps/web/components/getting-started/steps-views/UserProfile.tsx b/apps/web/components/getting-started/steps-views/UserProfile.tsx
index 018df639b74..8c6d2382c0a 100644
--- a/apps/web/components/getting-started/steps-views/UserProfile.tsx
+++ b/apps/web/components/getting-started/steps-views/UserProfile.tsx
@@ -149,7 +149,7 @@ const UserProfile = (props: IUserProfile) => {
}}
/>
{errors.bio && (
- <p data-testid="required" className="text-xs italic text-red-500">
+ <p data-testid="required" className="py-2 text-xs text-red-500">
{t("required")}
</p>
)}
diff --git a/apps/web/components/getting-started/steps-views/UserSettings.tsx b/apps/web/components/getting-started/steps-views/UserSettings.tsx
index 214060fa997..f55dc32a040 100644
--- a/apps/web/components/getting-started/steps-views/UserSettings.tsx
+++ b/apps/web/components/getting-started/steps-views/UserSettings.tsx
@@ -85,7 +85,7 @@ const UserSettings = (props: IUserSettingsProps) => {
className="w-full rounded-md border border-gray-300 text-sm"
/>
{errors.name && (
- <p data-testid="required" className="text-xs italic text-red-500">
+ <p data-testid="required" className="py-2 text-xs text-red-500">
{t("required")}
</p>
)}