Move css for graphs to graph.css and fix minor/fomatting issues.

This commit is contained in:
Johannes 'fish' Ziemke 2013-03-26 14:07:56 +01:00
parent 0a87618733
commit b0d1864146
3 changed files with 4 additions and 12 deletions

View File

@ -8,6 +8,8 @@ body {
.graph {
position: relative;
min-height: 400px;
overflow-x: hidden;
}
svg {
@ -19,5 +21,4 @@ svg {
display: inline-block;
vertical-align: top;
margin: 0 0 0 0px;
background-
}

View File

@ -35,19 +35,9 @@ input:not([type=submit]):not([type=file]):not([type=button]) {
float: right;
}
.graph {
min-height: 400px;
overflow-x: hidden;
}
div.legend {
display: block;
overflow: scroll;
}
input {
margin: 0;
border: 1px solid black;
border: 1px solid gray;
}
select {

View File

@ -384,6 +384,7 @@ Prometheus.Graph.prototype.updateGraph = function(reloadGraph) {
self.changeHandler();
};
Prometheus.Graph.prototype.resizeGraph = function() {
var self = this;
self.rickshawGraph.configure({