mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-26 12:50:44 -04: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"
|
type="submit"
|
||||||
{...omit(props, ['intl', 'text', 'waiting'])}
|
{...omit(props, ['intl', 'text', 'waiting'])}
|
||||||
>
|
>
|
||||||
{props.waiting ?
|
{props.waiting ? (
|
||||||
<Spinner /> : (
|
<Spinner className="next-step-spinner" />
|
||||||
<ModalTitle
|
) : (
|
||||||
className="next-step-title"
|
<ModalTitle
|
||||||
title={props.content ? props.content : props.intl.formatMessage({id: 'general.next'})}
|
className="next-step-title"
|
||||||
/>
|
title={props.content ? props.content : props.intl.formatMessage({id: 'general.next'})}
|
||||||
)
|
/>
|
||||||
}
|
)}
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -22,3 +22,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.next-step-spinner {
|
||||||
|
width: 2.625rem;
|
||||||
|
height: 2.625rem;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue