Panel: css fix for panel fullscreen/edit mode for latest chrome 38 and Firefox 33, #954

pull/974/head
Torkel Ödegaard 11 years ago
parent ff254ce08d
commit 6c83699e6f
  1. 1
      src/app/dashboards/default.json
  2. 11
      src/app/dashboards/scripted.js
  3. 1
      src/app/dashboards/template_vars.json
  4. 4
      src/app/panels/graph/module.js
  5. 8
      src/css/less/grafana.less
  6. 2
      src/css/less/submenu.less

@ -101,7 +101,6 @@
"legend_counts": true, "legend_counts": true,
"timezone": "browser", "timezone": "browser",
"percentage": false, "percentage": false,
"zerofill": true,
"nullPointMode": "connected", "nullPointMode": "connected",
"steppedLine": false, "steppedLine": false,
"tooltip": { "tooltip": {

@ -68,6 +68,17 @@ for (var i = 0; i < rows; i++) {
'target': "randomWalk('random walk2')" 'target': "randomWalk('random walk2')"
} }
], ],
seriesOverrides: [
{
alias: '/random/',
yaxis: 2,
fill: 0,
linewidth: 5
}
],
tooltip: {
shared: true
}
} }
] ]
}); });

@ -65,7 +65,6 @@
"avg": false "avg": false
}, },
"percentage": false, "percentage": false,
"zerofill": true,
"nullPointMode": "connected", "nullPointMode": "connected",
"steppedLine": false, "steppedLine": false,
"tooltip": { "tooltip": {

@ -151,10 +151,6 @@ function (angular, app, $, _, kbn, moment, TimeSeries) {
* queries * queries
*/ */
percentage : false, percentage : false,
/** @scratch /panels/histogram/3
* zerofill:: Improves the accuracy of line charts at a small performance cost.
*/
zerofill : true,
nullPointMode : 'connected', nullPointMode : 'connected',

@ -115,7 +115,7 @@
position: fixed; position: fixed;
left: 0px; left: 0px;
right: 0px; right: 0px;
top: 54px; top: 51px;
height: 100%; height: 100%;
padding: 0 10px; padding: 0 10px;
background: @grafanaPanelBackground; background: @grafanaPanelBackground;
@ -133,9 +133,11 @@
.dashboard-fullscreen { .dashboard-fullscreen {
.main-view-container { .main-view-container {
height: 0;
overflow: hidden; overflow: hidden;
padding: 0; height: 0;
.row-control-inner {
display: none;
}
} }
} }

@ -1,6 +1,6 @@
.submenu-controls-visible:not(.hide-controls) { .submenu-controls-visible:not(.hide-controls) {
.panel-fullscreen { .panel-fullscreen {
top: 91px; top: 88px;
} }
} }

Loading…
Cancel
Save