diff --git a/module/project/js/build.js b/module/project/js/build.js index a97168ac97..23c21fa95c 100644 --- a/module/project/js/build.js +++ b/module/project/js/build.js @@ -16,10 +16,20 @@ $(function() $('td .execution .label-danger').each(function() { $execution = $(this).closest('.execution'); - $td = $(this).closest('td'); + $td = $(this).closest('td'); if($td.width() < $execution.width()) { $execution.find('.executionName').css('display', 'inline-block').css('width', $td.width() - $(this).width()).css('overflow', 'hidden').css('float', 'left'); } }) + + $('td.c-name .build .icon-code-fork').each(function() + { + $build = $(this).closest('.build'); + $td = $(this).closest('td'); + if($td.width() < $build.width()) + { + $build.find('.buildName').css('display', 'inline-block').css('width', $td.width() - $(this).width()).css('overflow', 'hidden').css('float', 'left'); + } + }) }) diff --git a/module/project/view/build.html.php b/module/project/view/build.html.php index bd99efc9d9..b365228388 100644 --- a/module/project/view/build.html.php +++ b/module/project/view/build.html.php @@ -71,10 +71,12 @@