Skip to content

Commit

Permalink
After click on checkbox moving page one pixel on register page #1824 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
iliyan90 committed May 31, 2024
1 parent 18ecbfb commit 0c171fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/common/form/CheckboxField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ export default function CheckboxField({
}
/>
</Tooltip>
{Boolean(meta.error) && <FormHelperText error>{helperText}</FormHelperText>}
{Boolean(meta.error) && (
<FormHelperText sx={{ marginTop: 0 }} error>
{helperText}
</FormHelperText>
)}
</FormControl>
)
}

0 comments on commit 0c171fc

Please sign in to comment.