mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
set size of join flow next step spinner
This commit is contained in:
parent
5d1c46d24f
commit
d2bfa13d0a
2 changed files with 13 additions and 8 deletions
|
@ -16,14 +16,14 @@ const NextStepButton = props => (
|
|||
type="submit"
|
||||
{...omit(props, ['intl', 'text', 'waiting'])}
|
||||
>
|
||||
{props.waiting ?
|
||||
<Spinner /> : (
|
||||
<ModalTitle
|
||||
className="next-step-title"
|
||||
title={props.content ? props.content : props.intl.formatMessage({id: 'general.next'})}
|
||||
/>
|
||||
)
|
||||
}
|
||||
{props.waiting ? (
|
||||
<Spinner className="next-step-spinner" />
|
||||
) : (
|
||||
<ModalTitle
|
||||
className="next-step-title"
|
||||
title={props.content ? props.content : props.intl.formatMessage({id: 'general.next'})}
|
||||
/>
|
||||
)}
|
||||
</button>
|
||||
);
|
||||
|
||||
|
|
|
@ -22,3 +22,8 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.next-step-spinner {
|
||||
width: 2.625rem;
|
||||
height: 2.625rem;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue