mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-26 21:02:07 -04:00
fixed the issue "Create a Username" has different font weight
This commit is contained in:
parent
9221b6f6b5
commit
4e3956e1e4
1 changed files with 3 additions and 5 deletions
|
@ -196,16 +196,14 @@ class UsernameStep extends React.Component {
|
||||||
onValidSubmit={this.handleValidSubmit}
|
onValidSubmit={this.handleValidSubmit}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<div className="username-label">
|
<label className="username-label">
|
||||||
<b>
|
{this.props.intl.formatMessage({id: 'registration.createUsername'})}
|
||||||
{this.props.intl.formatMessage({id: 'registration.createUsername'})}
|
|
||||||
</b>
|
|
||||||
{this.props.usernameHelp ? (
|
{this.props.usernameHelp ? (
|
||||||
<p className="help-text">{this.props.usernameHelp}</p>
|
<p className="help-text">{this.props.usernameHelp}</p>
|
||||||
) : (
|
) : (
|
||||||
null
|
null
|
||||||
)}
|
)}
|
||||||
</div>
|
</label>
|
||||||
<Input
|
<Input
|
||||||
required
|
required
|
||||||
className={this.state.validUsername}
|
className={this.state.validUsername}
|
||||||
|
|
Loading…
Add table
Reference in a new issue