|
|
|
@ -80,16 +80,9 @@ module.exports = function($timeout, $window){ |
|
|
|
|
} else { |
|
|
|
|
// ensure table stretches to container sizes
|
|
|
|
|
getInnerContainer().css('width', '100%'); |
|
|
|
|
if(isWorkPackagesTable()) { |
|
|
|
|
// HACK: This prevents a horizontal scroll bar in
|
|
|
|
|
// the work package table when there is nothing to scroll
|
|
|
|
|
getBackgrounds().css('width', 'calc(100% - 20px)'); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
getBackgrounds().css('width', '100%'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function setHeaderFooterWidths() { |
|
|
|
|
getHeadersFooters().each(function() { |
|
|
|
|