summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorAntti Ahti <antti.ahti@gmail.com>2015-10-09 16:35:52 +0300
committerAntti Ahti <antti.ahti@gmail.com>2015-10-09 16:35:52 +0300
commit2d3506e2d27cbbb90c33dc62ef7493ef7bc6d628 (patch)
tree9d50c1fe15153d16983f47b1a6f473bb763c7ca9 /web/react/components
parent05ed5b08999c4d32f200c785b60b931d43b2b628 (diff)
downloadchat-2d3506e2d27cbbb90c33dc62ef7493ef7bc6d628.tar.gz
chat-2d3506e2d27cbbb90c33dc62ef7493ef7bc6d628.tar.bz2
chat-2d3506e2d27cbbb90c33dc62ef7493ef7bc6d628.zip
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.
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/signup_user_complete.jsx2
-rw-r--r--web/react/components/team_signup_password_page.jsx2
-rw-r--r--web/react/components/team_signup_username_page.jsx2
3 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/signup_user_complete.jsx b/web/react/components/signup_user_complete.jsx
index 75661f812..55cccf948 100644
--- a/web/react/components/signup_user_complete.jsx
+++ b/web/react/components/signup_user_complete.jsx
@@ -206,7 +206,7 @@ export default class SignupUserComplete extends React.Component {
maxLength='128'
/>
{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'>
diff --git a/web/react/components/team_signup_password_page.jsx b/web/react/components/team_signup_password_page.jsx
index dce8105ca..b1ccb0dd4 100644
--- a/web/react/components/team_signup_password_page.jsx
+++ b/web/react/components/team_signup_password_page.jsx
@@ -110,7 +110,7 @@ export default class TeamSignupPasswordPage extends React.Component {
placeholder=''
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>
{passwordError}
diff --git a/web/react/components/team_signup_username_page.jsx b/web/react/components/team_signup_username_page.jsx
index 53a389c4c..198c4b200 100644
--- a/web/react/components/team_signup_username_page.jsx
+++ b/web/react/components/team_signup_username_page.jsx
@@ -69,7 +69,7 @@ export default class TeamSignupUsernamePage extends React.Component {
defaultValue={this.props.state.user.username}
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>
{nameError}