diff --git a/web/static/css/graph.css b/web/static/css/graph.css index 7971789f82..bfedd138b0 100644 --- a/web/static/css/graph.css +++ b/web/static/css/graph.css @@ -7,7 +7,7 @@ body { } .graph_wrapper { - margin-top: 8px; + margin-top: 12px; } .graph { @@ -21,7 +21,7 @@ body { } .nav-tabs { - margin-top: 5px; + margin-top: 10px; } .nav-tabs > li > a { @@ -210,6 +210,7 @@ input[name="end_input"], input[name="range_input"] { .expression_select { width: 210px !important; + margin-left: 7px; } .graph_container .rickshaw_legend { diff --git a/web/static/js/graph.js b/web/static/js/graph.js index 3bcfce6ef0..0a18c6cc57 100644 --- a/web/static/js/graph.js +++ b/web/static/js/graph.js @@ -92,7 +92,6 @@ Prometheus.Graph.prototype.initialize = function() { language: 'en', pickSeconds: false, }); - // can we remove this conditional now? if (self.options["end_input"]) { self.endDate.data('datetimepicker').setValue(self.options["end_input"]); } @@ -530,7 +529,7 @@ Prometheus.Graph.prototype.handleConsoleResponse = function(data, textStatus) { switch(data.Type) { case "vector": if (data.Value.length === 0) { - tBody.append("