File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,16 @@ func MockActionsRunsJobs(ctx *context.Context) {
9494 Size : 1024 * 1024 ,
9595 Status : "completed" ,
9696 })
97+ resp .Artifacts = append (resp .Artifacts , & actions.ArtifactsViewItem {
98+ Name : "artifact-very-loooooooooooooooooooooooooooooooooooooooooooooooooooooooong" ,
99+ Size : 100 * 1024 ,
100+ Status : "expired" ,
101+ })
102+ resp .Artifacts = append (resp .Artifacts , & actions.ArtifactsViewItem {
103+ Name : "artifact-really-loooooooooooooooooooooooooooooooooooooooooooooooooooooooong" ,
104+ Size : 1024 * 1024 ,
105+ Status : "completed" ,
106+ })
97107
98108 resp .State .Run .Jobs = append (resp .State .Run .Jobs , & actions.ViewJob {
99109 ID : runID * 10 ,
Original file line number Diff line number Diff line change @@ -498,18 +498,18 @@ export default defineComponent({
498498 <template v-for =" artifact in artifacts " :key =" artifact .name " >
499499 <li class =" job-artifacts-item" >
500500 <template v-if =" artifact .status !== ' expired' " >
501- <a class =" flex-text-inline" target =" _blank" :href =" run.link+'/artifacts/'+artifact.name" >
501+ <a class =" flex-text-inline gt-ellipsis " target =" _blank" :href =" run.link+'/artifacts/'+artifact.name" >
502502 <SvgIcon name =" octicon-file" class =" text black" />
503- {{ artifact.name }}
503+ < span class = " gt-ellipsis " > {{ artifact.name }}</ span >
504504 </a >
505505 <a v-if =" run.canDeleteArtifact" @click =" deleteArtifact(artifact.name)" >
506506 <SvgIcon name =" octicon-trash" class =" text black" />
507507 </a >
508508 </template >
509509 <span v-else class =" flex-text-inline text light grey" >
510510 <SvgIcon name =" octicon-file" />
511- {{ artifact.name }}
512- <span class =" ui label text light grey" >{{ locale.artifactExpired }}</span >
511+ < span class = " gt-ellipsis " > {{ artifact.name }}</ span >
512+ <span class =" ui label text light grey tw-flex-shrink-0 " >{{ locale.artifactExpired }}</span >
513513 </span >
514514 </li >
515515 </template >
@@ -674,6 +674,7 @@ export default defineComponent({
674674 padding : 6px ;
675675 display : flex ;
676676 justify-content : space-between ;
677+ align-items : center ;
677678}
678679
679680.job-artifacts-list {
You can’t perform that action at this time.
0 commit comments