summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-01-09 20:36:35 +0200
committerYuval Adam <yuval@y3xz.com>2016-01-09 20:36:35 +0200
commit2154522c3b2cf46047c51c2d7ea0a9fe1fcd75a6 (patch)
treefd80865d75adbab7cbd58ad1c724a28d67bcb300
parentd691b26b23ae9321bb431fa5c12bf75d55e5f13a (diff)
Fix styling:
-rw-r--r--geshem.js2
-rw-r--r--style.scss12
2 files changed, 9 insertions, 5 deletions
diff --git a/geshem.js b/geshem.js
index 5961e4f..9136c52 100644
--- a/geshem.js
+++ b/geshem.js
@@ -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>
}
}
diff --git a/style.scss b/style.scss
index 17d31d1..03ac75c 100644
--- a/style.scss
+++ b/style.scss
@@ -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;
}
}
}