Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#955 - Improved the progress bar to match figma #1040

Merged
merged 9 commits into from
Feb 1, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const useStyles = makeStyles<Theme>(
marginTop: spacing(1),
fontSize: typography.fontSize,
},
formTitle: {
marginTop: '10px',
marginBottom: '8px',
},
})
);

Expand Down Expand Up @@ -167,7 +171,7 @@ const FormHeader = () => {
return (
<div className={classes.outerWrapper}>
<div className={classes.formHeader}>
<h3>{formTitle}</h3>
<h3 className={classes.formTitle}>{formTitle}</h3>

<ProgressBar percentage={percentageComplete} />
</div>
Expand Down
3 changes: 3 additions & 0 deletions products/statement-generator/src/components/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ const useStyles = makeStyles((theme) =>
root: {
borderRadius: 10,
backgroundColor: '#FFFFFF',
height: '6px',
'& .MuiLinearProgress-bar': {
borderRadius: 10,
backgroundColor: theme.palette.primary.main,
},
},
box: {
width: '95%',
marginTop: '12px',
marginBottom: '10px',
},
})
);
Expand Down