Move css for graphs to graph.css and fix minor/fomatting issues.
This commit is contained in:
parent
0a87618733
commit
b0d1864146
|
@ -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-
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -384,6 +384,7 @@ Prometheus.Graph.prototype.updateGraph = function(reloadGraph) {
|
|||
|
||||
self.changeHandler();
|
||||
};
|
||||
|
||||
Prometheus.Graph.prototype.resizeGraph = function() {
|
||||
var self = this;
|
||||
self.rickshawGraph.configure({
|
||||
|
|
Loading…
Reference in New Issue