Skip to content

Commit 642068b

Browse files
committed
fix continue button style
1 parent 263ac61 commit 642068b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/components/page/toolbar/buttons.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
1616
var React = require('react');
1717
var react_redux_1 = require('react-redux');
1818
var FlatButton_1 = require('material-ui/FlatButton');
19-
var RaisedButton_1 = require('material-ui/RaisedButton');
2019
var code_1 = require('material-ui/svg-icons/action/code');
2120
var actions_1 = require('../../../atom/actions');
2221
var editor_1 = require('../../../atom/editor');
@@ -29,7 +28,7 @@ var Continue = (function (_super) {
2928
_super.apply(this, arguments);
3029
}
3130
Continue.prototype.render = function () {
32-
return React.createElement(RaisedButton_1.default, {label: 'Continue', primary: true, onTouchTap: this.props.callNextPage});
31+
return React.createElement(FlatButton_1.default, {label: 'Continue', primary: true, onTouchTap: this.props.callNextPage});
3332
};
3433
Continue = __decorate([
3534
react_redux_1.connect(null, function (dispatch, state) {

src/components/page/page.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ render() {
3939

4040
<Tasks tasks={tasks} taskPosition={taskPosition} testRun={testRun} />
4141
<div className='listEnd' ref='listEnd'></div>
42+
4243
<PageCompleteMessage page={page} />
4344
<Hints task={currentTask} hintPosition={hintPosition} />
4445
<PageToolbar tasks={tasks} taskPosition={taskPosition}>

src/components/page/toolbar/buttons.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as React from 'react';
22
import {connect} from 'react-redux';
33
import FlatButton from 'material-ui/FlatButton';
4-
import RaisedButton from 'material-ui/RaisedButton';
54
import Code from 'material-ui/svg-icons/action/code';
65

76
import {toggleDevTools} from '../../../atom/actions';
@@ -25,6 +24,6 @@ export class Continue extends React.Component<{
2524
callNextPage?: any
2625
}, {}> {
2726
render() {
28-
return <RaisedButton label='Continue' primary={true} onTouchTap={this.props.callNextPage} />;
27+
return <FlatButton label='Continue' primary={true} onTouchTap={this.props.callNextPage} />;
2928
}
3029
}

0 commit comments

Comments
 (0)