set size of join flow next step spinner

This commit is contained in:
Ben Wheeler 2019-09-16 22:41:46 -04:00
parent 5d1c46d24f
commit d2bfa13d0a
2 changed files with 13 additions and 8 deletions

View file

@ -16,14 +16,14 @@ const NextStepButton = props => (
type="submit"
{...omit(props, ['intl', 'text', 'waiting'])}
>
{props.waiting ?
<Spinner /> : (
{props.waiting ? (
<Spinner className="next-step-spinner" />
) : (
<ModalTitle
className="next-step-title"
title={props.content ? props.content : props.intl.formatMessage({id: 'general.next'})}
/>
)
}
)}
</button>
);

View file

@ -22,3 +22,8 @@
justify-content: center;
align-items: center;
}
.next-step-spinner {
width: 2.625rem;
height: 2.625rem;
}