Skip to content

Commit

Permalink
#111 Swapped Next and back button position in Mobile Stepper
Browse files Browse the repository at this point in the history
  • Loading branch information
Murali Suresh committed Jan 20, 2017
1 parent 4b0ddc5 commit 3cab9f2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions reactJS/app/components/RegisterComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,15 @@ class RegisterComponent extends Component {

return (
<div style={{
margin: '12px 0'
margin: '12px 16px',
marginTop: '25px'
}}>
{step > 0 && (<FlatButton label="Back" disabled={stepIndex === 0} disableTouchRipple={true} disableFocusRipple={true} onTouchTap={this.stepDecrease}/>)}
<RaisedButton label={stepIndex === 2
? 'Register'
: 'Next'} disableTouchRipple={true} disableFocusRipple={true} primary={true} onTouchTap={this.stepIncrease} style={{
marginRight: 12
}}/> {step > 0 && (<FlatButton label="Back" disabled={stepIndex === 0} disableTouchRipple={true} disableFocusRipple={true} onTouchTap={this.stepDecrease}/>)}
}}/>
</div>
);
}
Expand Down Expand Up @@ -450,7 +452,7 @@ class RegisterComponent extends Component {
<StepContent>
<div className='row'>
<div className='col-xs-12'>

<br></br>
<Geosuggest style={{
'input': {},
'suggests': {},
Expand Down Expand Up @@ -479,6 +481,7 @@ class RegisterComponent extends Component {
<div className='row'>

<div className='col-xs-12'>
<br></br>
<InfiniteCalendar theme={{
selectionColor: 'rgb(6, 5, 6)',
textColor: {
Expand Down

0 comments on commit 3cab9f2

Please sign in to comment.