diff --git a/module/project/css/browse.css b/module/project/css/browse.css index f9f56577d9..da23a432c8 100644 --- a/module/project/css/browse.css +++ b/module/project/css/browse.css @@ -11,6 +11,7 @@ td.c-actions {overflow: visible;} .icon-list {padding-left: 7px;} .panel-actions {position: relative; padding: 0 0;} -td.flex {display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: center;} -td.flex span.label-badge {margin-left: 5px; min-width: 50px;} -td.flex a.text-ellipsis {min-width: 30px;} +#projectTableList .project-name {position: relative; display: flex; align-items: center;} +#projectTableList .project-name > span, +#projectTableList .project-name > span {flex: none;} +#projectTableList .project-name > a {color: #0c60e1; display: inline-block; max-width: calc(100% - 100px); flex: auto; padding: 0 5px;} diff --git a/module/project/model.php b/module/project/model.php index ce24e747f2..7b612123fc 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -1387,7 +1387,7 @@ class projectModel extends model if($id == 'name') { - $class .= ' text-left flex'; + $class .= ' text-left'; $title = "title='{$project->name}'"; } @@ -1425,6 +1425,7 @@ class projectModel extends model } break; case 'name': + echo '
'; if(isset($this->config->maxVersion)) { if($project->model === 'waterfall') echo "{$this->lang->project->waterfall} "; @@ -1432,6 +1433,7 @@ class projectModel extends model } echo html::a($projectLink, $project->name, '', "class='text-ellipsis'"); if(isset($project->delay)) echo "{$this->lang->project->statusList['delay']}"; + echo '
'; break; case 'PM': $user = $this->loadModel('user')->getByID($project->PM, 'account');