Browse Source

Style

master
Rino Grupp 4 years ago
parent
commit
32445c9da3
2 changed files with 45 additions and 20 deletions
  1. +38
    -12
      package-lock.json
  2. +7
    -8
      src/components/finder/Step.js

+ 38
- 12
package-lock.json View File

@ -2785,11 +2785,13 @@
},
"balanced-match": {
"version": "1.0.0",
"bundled": true
"bundled": true,
"optional": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@ -2802,15 +2804,18 @@
},
"code-point-at": {
"version": "1.1.0",
"bundled": true
"bundled": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true
"bundled": true,
"optional": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true
"bundled": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
@ -2913,7 +2918,8 @@
},
"inherits": {
"version": "2.0.3",
"bundled": true
"bundled": true,
"optional": true
},
"ini": {
"version": "1.3.5",
@ -2923,6 +2929,7 @@
"is-fullwidth-code-point": {
"version": "1.0.0",
"bundled": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@ -2935,17 +2942,20 @@
"minimatch": {
"version": "3.0.4",
"bundled": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "0.0.8",
"bundled": true
"bundled": true,
"optional": true
},
"minipass": {
"version": "2.3.5",
"bundled": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
@ -2962,6 +2972,7 @@
"mkdirp": {
"version": "0.5.1",
"bundled": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
@ -3034,7 +3045,8 @@
},
"number-is-nan": {
"version": "1.0.1",
"bundled": true
"bundled": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
@ -3044,6 +3056,7 @@
"once": {
"version": "1.4.0",
"bundled": true,
"optional": true,
"requires": {
"wrappy": "1"
}
@ -3149,6 +3162,7 @@
"string-width": {
"version": "1.0.2",
"bundled": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
@ -6826,6 +6840,7 @@
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@ -6838,7 +6853,8 @@
},
"code-point-at": {
"version": "1.1.0",
"bundled": true
"bundled": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
@ -6847,7 +6863,8 @@
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true
"bundled": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
@ -6950,7 +6967,8 @@
},
"inherits": {
"version": "2.0.3",
"bundled": true
"bundled": true,
"optional": true
},
"ini": {
"version": "1.3.5",
@ -6960,6 +6978,7 @@
"is-fullwidth-code-point": {
"version": "1.0.0",
"bundled": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@ -6972,17 +6991,20 @@
"minimatch": {
"version": "3.0.4",
"bundled": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "0.0.8",
"bundled": true
"bundled": true,
"optional": true
},
"minipass": {
"version": "2.3.5",
"bundled": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
@ -6999,6 +7021,7 @@
"mkdirp": {
"version": "0.5.1",
"bundled": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
@ -7071,7 +7094,8 @@
},
"number-is-nan": {
"version": "1.0.1",
"bundled": true
"bundled": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
@ -7081,6 +7105,7 @@
"once": {
"version": "1.4.0",
"bundled": true,
"optional": true,
"requires": {
"wrappy": "1"
}
@ -7186,6 +7211,7 @@
"string-width": {
"version": "1.0.2",
"bundled": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",

+ 7
- 8
src/components/finder/Step.js View File

@ -17,13 +17,9 @@ const styles = theme => ({
buttonGrid: {
padding: 20
},
button: {
margin:20,
fontSize: '1.25em',
marginBottom: 5,
},
buttonNext: {
margin:20,
fontSize: '1rem'
},
scooter: {
width: "80%",
@ -48,7 +44,9 @@ const styles = theme => ({
borderColor: '#fff',
borderRadius: '20px',
padding: '15px',
backgroundColor: 'rgba(255,255,255,0.5)'
backgroundColor: 'rgba(255,255,255,0.5)',
fontSize: '1rem',
marginTop: '5px'
},
center: {
maxWidth: "80%",
@ -71,6 +69,7 @@ const styles = theme => ({
borderRadius: "20px"
},
buttonWeiter: {
fontSize: '1rem'
},
icon: {
width: '40px'
@ -354,8 +353,8 @@ class Step extends React.Component {
if (buttonType ==='toggle'){
buttons.push(
<Grid xs={12} className={classes.buttonNext} item key="weiter">
<Button variant="contained" color="primary" onClick={() => {this.saveToggle(); this.next()}}>Weiter</Button>
<Grid xs={12} className={classes.buttonWeiter} item key="weiter">
<Button variant="contained" color="primary" className={classes.buttonWeiter} onClick={() => {this.saveToggle(); this.next()}}>Weiter</Button>
</Grid>
)
}

Loading…
Cancel
Save