feat(alerting): alert threshold handles progress

This commit is contained in:
Torkel Ödegaard
2016-06-11 22:33:02 +02:00
parent f387e39b67
commit 1500c0e954
14 changed files with 217 additions and 167 deletions

View File

@@ -152,8 +152,8 @@ export class PanelCtrl {
calculatePanelHeight() {
if (this.fullscreen) {
var docHeight = $(window).height();
var editHeight = Math.floor(docHeight * 0.3);
var fullscreenHeight = Math.floor(docHeight * 0.7);
var editHeight = Math.floor(docHeight * 0.4);
var fullscreenHeight = Math.floor(docHeight * 0.6);
this.containerHeight = this.editMode ? editHeight : fullscreenHeight;
} else {
this.containerHeight = this.panel.height || this.row.height;