diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-05-28 11:37:42 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-05-28 14:35:37 +0100 |
commit | 91c321375e1dba36e59e90589d7a950846d7fe90 (patch) | |
tree | 06b21833e0fd0d0f1b857557c61e33ad8f723c2c | |
parent | 4fe810544974654ca6c47ff8093558d330ea99e7 (diff) | |
download | gitlab-ce-62408-dropdown-truncate.tar.gz |
Truncates job names in pipeline graph62408-dropdown-truncate
-rw-r--r-- | app/assets/javascripts/pipelines/components/graph/job_group_dropdown.vue | 4 | ||||
-rw-r--r-- | changelogs/unreleased/62408-dropdown-truncate.yml | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipelines/components/graph/job_group_dropdown.vue b/app/assets/javascripts/pipelines/components/graph/job_group_dropdown.vue index 482898b80c4..ebd7a17040a 100644 --- a/app/assets/javascripts/pipelines/components/graph/job_group_dropdown.vue +++ b/app/assets/javascripts/pipelines/components/graph/job_group_dropdown.vue @@ -69,7 +69,9 @@ export default { > <ci-icon :status="group.status" /> - <span class="ci-status-text"> {{ group.name }} </span> + <span class="ci-status-text text-truncate mw-70p gl-pl-1 d-inline-block align-bottom"> + {{ group.name }} + </span> <span class="dropdown-counter-badge"> {{ group.size }} </span> </button> diff --git a/changelogs/unreleased/62408-dropdown-truncate.yml b/changelogs/unreleased/62408-dropdown-truncate.yml new file mode 100644 index 00000000000..7204016efdf --- /dev/null +++ b/changelogs/unreleased/62408-dropdown-truncate.yml @@ -0,0 +1,5 @@ +--- +title: Fix job name in graph dropdown overflowing +merge_request: 28824 +author: +type: fixed |