Merge pull request #993 from apaatsio/bootstrap-help-block

Use help-block class from Bootstrap
Этот коммит содержится в:
Christopher Speller
2015-10-14 07:39:53 -04:00
родитель 6095bf4a45 2d3506e2d2
Коммит cbefd88951
5 изменённых файлов: 8 добавлений и 9 удалений

Просмотреть файл

@@ -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;
}