Commit bda5cdcb by Torkel Ödegaard

ux(dash edit mode): fix for row height when collapsed

parent 591f6536
...@@ -105,7 +105,7 @@ export function rowDirective($rootScope) { ...@@ -105,7 +105,7 @@ export function rowDirective($rootScope) {
row: "=", row: "=",
}, },
link: function(scope, element) { 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}); element.css({minHeight: scope.ctrl.row.collapse ? '5px' : scope.ctrl.row.height});
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment