Commit 8f8ffc4d authored by Filipa Lacerda's avatar Filipa Lacerda

Fixes job overflow in stages dropdown

Adds the text truncate class to the
text only instead of truncating the
whole line and hiding the retry icon
parent 72e1c25a
......@@ -54,7 +54,7 @@ export default {
:href="job.status.details_path"
:title="tooltipText"
data-boundary="viewport"
class="js-job-link"
class="js-job-link d-flex"
>
<icon
v-if="isActive"
......@@ -64,7 +64,7 @@ export default {
<ci-icon :status="job.status" />
<span>{{ job.name ? job.name : job.id }}</span>
<span class="text-truncate w-100">{{ job.name ? job.name : job.id }}</span>
<icon v-if="job.retried" name="retry" class="js-retry-icon" />
</gl-link>
......
......@@ -308,12 +308,8 @@
}
a {
display: block;
padding: $gl-padding 10px $gl-padding 40px;
width: 270px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
color: $gl-text-color;
......
---
title: Fixes job overflow in stages dropdown
merge_request:
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment