mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux(dash edit mode): fix for row height when collapsed
This commit is contained in:
parent
591f6536f8
commit
bda5cdcb2f
@ -105,7 +105,7 @@ export function rowDirective($rootScope) {
|
||||
row: "=",
|
||||
},
|
||||
link: function(scope, element) {
|
||||
scope.$watchGroup(['ctrl.row.height'], function() {
|
||||
scope.$watchGroup(['ctrl.row.collapse', 'ctrl.row.height'], function() {
|
||||
element.css({minHeight: scope.ctrl.row.collapse ? '5px' : scope.ctrl.row.height});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user