diff options
| -rw-r--r-- | geshem.js | 2 | ||||
| -rw-r--r-- | style.scss | 12 |
2 files changed, 9 insertions, 5 deletions
@@ -234,7 +234,7 @@ class Map extends React.Component { view={view} slider={this.state.slider} token='pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpaWRuaWFxazAwMTJ2b2tyZGRmaWpsNWYifQ.qf_V3CFP_NZtLjk5luNM4g' /> - <Slider step={1} min={1} max={7} defaultValue={7} onChange={this.onChangeHandler} /> + <Slider step={1} min={1} max={7} defaultValue={7} tipFormatter={null} onChange={this.onChangeHandler} /> </div> } } @@ -19,16 +19,20 @@ body { } .rc-slider { position: fixed; - bottom: 100px; + bottom: 50px; width: 80%; margin: 0 auto; margin-left: 10%; .rc-slider-handle { - border: 2px solid rgb(168, 32, 9); - background-color: #888; + border: 2px solid #bababa; + background-color: #bababa; + margin-left: -12px; + margin-top: -13px; + width: 30px; + height: 30px; } .rc-slider-track { - background-color: rgb(168, 32, 9); + background-color: #bababa; } } } |
