Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit689d83f

Browse files
committed
fix components styles
1 parent7a62c68 commit689d83f

File tree

9 files changed

+12
-16
lines changed

9 files changed

+12
-16
lines changed

‎lib/components/Page/Hints/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ var HintButton_1 = require('./HintButton');
66
varhelp_1=require('material-ui/svg-icons/action/help');
77
varstyles={
88
position:'relative',
9-
margin:'0 20px -8px 20px',
9+
margin:'5px auto 10px',
1010
width:'360px',
1111
textAlign:'center',
12-
zIndex:'0',
1312
};
1413
varHints=function(_a){
1514
vartask=_a.task,hintPosition=_a.hintPosition;

‎lib/components/Page/PageToolbar/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ var ToggleLog_1 = require('./ToggleLog');
55
varSave_1=require('./Save');
66
varContinue_1=require('./Continue');
77
varstyles={
8-
zIndex:'1000',
9-
position:'fixed',
8+
zIndex:'5',
9+
position:'relative',
1010
bottom:'0px',
1111
right:'0px',
1212
height:'60px',

‎lib/components/Page/ProgressBar/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ var React = require('react');
33
varLinearProgress_1=require('material-ui/LinearProgress');
44
varstyle={
55
height:'10px',
6-
zIndex:'10',
6+
position:'relative',
7+
margin:'0',
78
};
89
varProgressBar=function(_a){
910
vartaskPosition=_a.taskPosition,taskLength=_a.taskLength,completed=_a.completed;

‎lib/components/Tutorials/LoadTutorials/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
1616
varReact=require('react');
1717
varreact_redux_1=require('react-redux');
1818
varactions_1=require('../../../actions');
19-
varFlatButton_1=require('material-ui/FlatButton');
19+
varRaisedButton_1=require('material-ui/RaisedButton');
2020
varLoadTutorials=(function(_super){
2121
__extends(LoadTutorials,_super);
2222
functionLoadTutorials(){
2323
_super.apply(this,arguments);
2424
}
2525
LoadTutorials.prototype.render=function(){
26-
return(React.createElement(FlatButton_1.default,{label:'Check for Tutorials',secondary:true,onTouchTap:this.props.tutorialsFind}));
26+
return(React.createElement(RaisedButton_1.default,{label:'Check for Tutorials',secondary:true,onTouchTap:this.props.tutorialsFind}));
2727
};
2828
LoadTutorials=__decorate([
2929
react_redux_1.connect(null,function(dispatch){

‎lib/components/Tutorials/SelectTutorial/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ var SelectTutorial = (function (_super) {
4141
return{
4242
selectTutorial:function(name){
4343
dispatch(actions_1.tutorialSet(name));
44-
dispatch(actions_1.progressLoad());
45-
dispatch(actions_1.routeSet('progress'));
4644
},
4745
};
4846
}),

‎src/components/Page/Hints/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import Help from 'material-ui/svg-icons/action/help';
66

77
conststyles={
88
position:'relative',
9-
margin:'0 20px -8px 20px',
9+
margin:'5px auto 10px',
1010
width:'360px',
1111
textAlign:'center',
12-
zIndex:'0',
1312
};
1413

1514
constHints:React.StatelessComponent<{

‎src/components/Page/PageToolbar/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import Save from './Save';
55
importContinuefrom'./Continue';
66

77
conststyles={
8-
zIndex:'1000',
9-
position:'fixed',
8+
zIndex:'5',
9+
position:'relative',
1010
bottom:'0px',
1111
right:'0px',
1212
height:'60px',

‎src/components/Page/ProgressBar/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import LinearProgress from 'material-ui/LinearProgress';
33

44
conststyle={
55
height:'10px',
6-
zIndex:'10',
6+
position:'relative',
7+
margin:'0',
78
};
89

910
constProgressBar:React.StatelessComponent<{

‎src/components/Tutorials/SelectTutorial/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ function displayName(name: string): string {
1818
return{
1919
selectTutorial:(name:string)=>{
2020
dispatch(tutorialSet(name));
21-
dispatch(progressLoad());
22-
dispatch(routeSet('progress'));
2321
},
2422
};
2523
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp