Use help-block class from Bootstrap
Use help-block class provided by Bootstrap instead of using a custom form__hint class. We still override some styles from the Bootstrap class, though.
Этот коммит содержится в:
@@ -206,7 +206,7 @@ export default class SignupUserComplete extends React.Component {
|
|||||||
maxLength='128'
|
maxLength='128'
|
||||||
/>
|
/>
|
||||||
{nameError}
|
{nameError}
|
||||||
<p className='form__hint'>Username must begin with a letter, and contain between 3 to 15 lowercase characters made up of numbers, letters, and the symbols '.', '-' and '_'</p>
|
<span className='help-block'>Username must begin with a letter, and contain between 3 to 15 lowercase characters made up of numbers, letters, and the symbols '.', '-' and '_'</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='margin--extra'>
|
<div className='margin--extra'>
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ export default class TeamSignupPasswordPage extends React.Component {
|
|||||||
placeholder=''
|
placeholder=''
|
||||||
maxLength='128'
|
maxLength='128'
|
||||||
/>
|
/>
|
||||||
<div className='color--light form__hint'>Passwords must contain 5 to 50 characters. Your password will be strongest if it contains a mix of symbols, numbers, and upper and lowercase characters.</div>
|
<span className='color--light help-block'>Passwords must contain 5 to 50 characters. Your password will be strongest if it contains a mix of symbols, numbers, and upper and lowercase characters.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{passwordError}
|
{passwordError}
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ export default class TeamSignupUsernamePage extends React.Component {
|
|||||||
defaultValue={this.props.state.user.username}
|
defaultValue={this.props.state.user.username}
|
||||||
maxLength='128'
|
maxLength='128'
|
||||||
/>
|
/>
|
||||||
<div className='color--light form__hint'>Usernames must begin with a letter and contain 3 to 15 characters made up of lowercase letters, numbers, and the symbols '.', '-' and '_'</div>
|
<span className='color--light help-block'>Usernames must begin with a letter and contain 3 to 15 characters made up of lowercase letters, numbers, and the symbols '.', '-' and '_'</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{nameError}
|
{nameError}
|
||||||
|
|||||||
@@ -37,3 +37,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.help-block {
|
||||||
|
font-size: 0.95em;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|||||||
@@ -96,12 +96,6 @@
|
|||||||
margin-bottom: 0.8em;
|
margin-bottom: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form__hint {
|
|
||||||
font-size: 0.95em;
|
|
||||||
color: #999;
|
|
||||||
margin: 10px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.signup-team-confirm__container {
|
.signup-team-confirm__container {
|
||||||
padding: 100px 0px 100px 0px;
|
padding: 100px 0px 100px 0px;
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user