Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix ie10 cut off input text

Ed Plato4fc1a35b03ef
diff --git a/web/css/timeline.css b/web/css/timeline.css
index 9adf849e4..044137fe7 100644
--- a/web/css/timeline.css
+++ b/web/css/timeline.css
@@ -201,6 +201,7 @@ g.plot rect.data-bar-invisible {
background: transparent;
border: 0;
font-family: 'Roboto Mono', monospace;
+ line-height: 1.2em;
vertical-align: middle;
box-sizing: border-box;
-moz-box-sizing: border-box;
diff --git a/web/js/date/timeline.js b/web/js/date/timeline.js
index eb27751b0..fdac434ce 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 + 24));
+ .attr('viewBox', '0 -6 ' + 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 + 24)
- .attr('viewBox', '0 -6 ' + self.width + ' ' + (self.height + self.margin.top + self.margin.bottom + 24));
+ .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));
self.svg
.append('svg:defs')