Merge pull request #993 from apaatsio/bootstrap-help-block
Use help-block class from Bootstrap
Этот коммит содержится в:
@@ -208,7 +208,7 @@ export default class SignupUserComplete extends React.Component {
|
||||
spellCheck='false'
|
||||
/>
|
||||
{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 className='margin--extra'>
|
||||
|
||||
@@ -111,7 +111,7 @@ export default class TeamSignupPasswordPage extends React.Component {
|
||||
maxLength='128'
|
||||
spellCheck='false'
|
||||
/>
|
||||
<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>
|
||||
{passwordError}
|
||||
|
||||
@@ -70,7 +70,7 @@ export default class TeamSignupUsernamePage extends React.Component {
|
||||
maxLength='128'
|
||||
spellCheck='false'
|
||||
/>
|
||||
<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>
|
||||
{nameError}
|
||||
|
||||
@@ -37,3 +37,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.help-block {
|
||||
font-size: 0.95em;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
@@ -96,12 +96,6 @@
|
||||
margin-bottom: 0.8em;
|
||||
}
|
||||
|
||||
.form__hint {
|
||||
font-size: 0.95em;
|
||||
color: #999;
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.signup-team-confirm__container {
|
||||
padding: 100px 0px 100px 0px;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user