We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d54697f commit fc7939dCopy full SHA for fc7939d
client/src/MainApp/Slider.jsx
@@ -44,12 +44,10 @@ class Slider extends Component {
44
);
45
};
46
47
- const wrapperStyle = { width: 400, margin: 50 };
48
- return(
+ return (
49
<div>
50
- <div style={wrapperStyle}>
51
- <p>Please slide according to your seriousness</p>
52
- <p>{this.props.sliderDefaultValue}</p>
+ <div className="sliderSpace">
+ <p className="slideText">Please slide according to your seriousness: {this.props.sliderDefaultValue}</p>
53
<RCSlider min={0} max={100} value={this.props.sliderDefaultValue} handle={handle}
54
onChange={this.onSliderChange}
55
/>
0 commit comments