grid: progress on new grid, resize & saving layouts works

This commit is contained in:
Torkel Ödegaard
2017-10-10 14:20:53 +02:00
parent 207773e07e
commit 10a3504309
12 changed files with 152 additions and 539 deletions

View File

@@ -98,6 +98,7 @@ module.directive('grafanaPanel', function($rootScope, $document) {
}
ctrl.events.on('render', () => {
console.log('panelDirective::render!');
if (lastHeight !== ctrl.containerHeight) {
panelContainer.css({minHeight: ctrl.containerHeight});
lastHeight = ctrl.containerHeight;