Feature(settings): update language settings copy

This commit is contained in:
Berkeley Martinez
2016-07-20 12:33:38 -07:00
parent 77b1ac487a
commit 232e0713d1
2 changed files with 13 additions and 10 deletions

View File

@ -1,7 +1,7 @@
import React, { PropTypes } from 'react';
import { createSelector } from 'reselect';
import { reduxForm } from 'redux-form';
import { FormControl } from 'react-bootstrap';
import { FormControl, FormGroup } from 'react-bootstrap';
import { updateMyLang } from '../redux/actions';
import { userSelector } from '../../../redux/selectors';
@ -83,14 +83,17 @@ export class LangaugeSettings extends React.Component {
fields: { lang }
} = this.props;
return (
<FormGroup>
<FormControl
className='btn btn-block btn-primary btn-link-social'
className='btn btn-block btn-primary btn-link-social btn-lg'
componentClass='select'
{ ...lang }
onChange={ this.handleChange }
style={{ height: '45px' }}
>
{ options }
</FormControl>
</FormGroup>
);
}
}

View File

@ -245,7 +245,7 @@ export class Settings extends React.Component {
</Col>
</Row>
<div className='spacer' />
<h2 className='text-center'>Language Settings</h2>
<h2 className='text-center'>Display challenges in:</h2>
<Row>
<Col
md={ 6 }