Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from commercelayer/error-spacing
Browse files Browse the repository at this point in the history
Enhance form error spacing
  • Loading branch information
pfferrari authored Apr 22, 2024
2 parents b6e85a9 + 14de10b commit 9083bdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/app/src/components/TagForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export function TagForm({
<Button type='submit' disabled={isSubmitting} className='w-full'>
{defaultValues.name.length === 0 ? 'Create' : 'Update'}
</Button>
<HookedValidationApiError apiError={apiError} />
<Spacer top='2'>
<HookedValidationApiError apiError={apiError} />
</Spacer>
</Spacer>
</HookedForm>
)
Expand Down

0 comments on commit 9083bdb

Please sign in to comment.