From c46cf29a2ce464333758116a2c770ebc6d43d51e Mon Sep 17 00:00:00 2001 From: guofeilong Date: Wed, 12 Oct 2022 07:52:09 +0000 Subject: [PATCH] * fix bug * 28499 --- module/execution/model.php | 2 +- module/project/css/execution.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 76fd53a28a..bd2c567f81 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4612,7 +4612,7 @@ class executionModel extends model } if(empty($execution->children)) { - echo html::a(helper::createLink('execution', 'view', "executionID=$execution->id"), $execution->name); + echo html::a(helper::createLink('execution', 'view', "executionID=$execution->id"), $execution->name, '', 'class="text-ellipsis"'); if(!helper::isZeroDate($execution->end)) { if($execution->status != 'closed') diff --git a/module/project/css/execution.css b/module/project/css/execution.css index 9d0b896ce6..0dc1148810 100644 --- a/module/project/css/execution.css +++ b/module/project/css/execution.css @@ -12,3 +12,6 @@ th.table-nest-title .check-all {position: absolute; left: 15px; top: 7px;} #executionTableList > tr:not(.has-nest-child) .table-nest-toggle {display: none;} #executionTableList > tr:not(.has-nest-child) .project-type-label {margin-left: 22px;} .table-statistic {padding-left: 10px;} +td.flex {display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: center; margin-bottom: 0px;} +td.c-name > .project-type-label {flex: 0 0 36px; padding-right: 2px;} +.c-name > a, .table-children .text-left > a { padding-left: 5px; text-overflow: clip;}