Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix reintroduced cut off dragger bug

Ed Platodf37c8f4529d
diff --git a/web/css/timeline.css b/web/css/timeline.css
index 044137fe7..d9379a6f6 100644
--- a/web/css/timeline.css
+++ b/web/css/timeline.css
@@ -13,7 +13,7 @@ button:focus {
flex-flow: row nowrap;
margin-left: 10px;
margin-right: 10px;
- height: 65px;
+ height: 67px;
bottom: 10px;
}
@@ -202,7 +202,7 @@ g.plot rect.data-bar-invisible {
border: 0;
font-family: 'Roboto Mono', monospace;
line-height: 1.2em;
- vertical-align: middle;
+ vertical-align: baseline;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
@@ -399,7 +399,6 @@ g.plot rect.data-bar-invisible {
}
#timeline-footer svg > g {
- overflow: hidden;
visibility: visible;
}
diff --git a/web/js/date/timeline.js b/web/js/date/timeline.js
index fdac434ce..18d8c0410 100644
--- a/web/js/date/timeline.js
+++ b/web/js/date/timeline.js
@@ -100,7 +100,7 @@ export function timeline(models, config, ui) {
self.getWidth();
self.svg.attr('width', self.width)
- .attr('viewBox', '0 -6 ' + self.width + ' ' + (self.height + self.margin.top + self.margin.bottom + 26));
+ .attr('viewBox', '0 1 ' + self.width + ' ' + (self.height + self.margin.top + self.margin.bottom + 26));
d3.select('#timeline-boundary rect')
.attr('width', self.width);
@@ -134,8 +134,8 @@ export function timeline(models, config, ui) {
self.svg = d3.select('#timeline-footer')
.append('svg:svg')
.attr('width', self.width) // + margin.left + margin.right)
- .attr('height', self.height + self.margin.top + self.margin.bottom + 26)
- .attr('viewBox', '0 -6 ' + self.width + ' ' + (self.height + self.margin.top + self.margin.bottom + 26));
+ .attr('height', self.height + self.margin.top + self.margin.bottom + 42)
+ .attr('viewBox', '0 1 ' + self.width + ' ' + (self.height + self.margin.top + self.margin.bottom + 26));
self.svg
.append('svg:defs')