Skip to content

Commit

Permalink
Add static width to desc in workflow row.
Browse files Browse the repository at this point in the history
Signed-off-by: leozhang2018 <[email protected]>
  • Loading branch information
leozhang2018 committed Dec 8, 2021
1 parent ade5edc commit 6903c8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/common/task_list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<el-tooltip v-if="item.builds.length > 0" class="item" effect="light" :open-delay="250" placement="right">
<div slot="content">
<div v-for="(build,buildIndex) in item.builds" :key="buildIndex">
<span v-if="build.repo_name">{{build.repo_name }}</span>
<span v-if="build.tag">Tag-{{build.tag }}</span>
<span v-if="build.branch">Branch-{{ build.branch }}</span>
<span v-if="build.pr">PR-{{ build.pr }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default {
.dash-body {
position: relative;
flex-grow: 1;
padding: 0 1.5em;
padding-left: 0.8em;
border-left: 4px solid #77797d;
&.running,
Expand Down Expand Up @@ -274,6 +274,8 @@ export default {
}
.desc {
flex: 0 0 19%;
width: 19%;
color: #666;
font-size: 14px;
}
Expand Down

0 comments on commit 6903c8e

Please sign in to comment.