Marks the hack

pull/3447/head
Henriette Dinger 9 years ago
parent 6aa6613202
commit 64cc57d43d
  1. 1
      app/assets/stylesheets/layout/_work_package.sass
  2. 2
      frontend/app/ui_components/interactive-table-directive.js

@ -236,6 +236,7 @@
.work-package-table--container
table.generic-table
// HACK: This prevents a horizontal scroll bar in the work package table when there is nothing to scroll
width: calc(100% - 10px)
%flex-grow-shrink-zero

@ -81,6 +81,8 @@ module.exports = function($timeout, $window){
// 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% - 10px)');
}
else {

Loading…
Cancel
Save