@@ -112,8 +112,10 @@ export default {
112
112
<div class =" about" >
113
113
<div class =" header-section" >
114
114
<div class =" title" >
115
- <RouterLink :to =" `/c/${this.$route.params.cluster}/${this.PRODUCT_NAME}/${this.PAGE.VULNERABILITIES}`" >{{ t('imageScanner.vulnerabilities.title') }}:</RouterLink >
116
- {{ $route.params.id }}
115
+ <span class =" resource-header-name" >
116
+ <RouterLink :to =" `/c/${this.$route.params.cluster}/${this.PRODUCT_NAME}/${this.PAGE.VULNERABILITIES}`" >{{ t('imageScanner.vulnerabilities.title') }}:</RouterLink >
117
+ {{ $route.params.id }}
118
+ </span >
117
119
<BadgeState
118
120
:color =" getSeverityColor(cveDetail.severity)"
119
121
:label =" t(`imageScanner.enum.cve.${cveDetail.severity}`)"
@@ -165,9 +167,12 @@ export default {
165
167
<div class =" stat-item" >
166
168
<span class =" label" >Sources</span >
167
169
<span class =" value" >
168
- <a v-for =" (source, index) in cveDetail.sources" :key =" index" :href =" source.link" target =" _blank" class =" source-link" >
169
- {{ source.name }}
170
- </a >
170
+ <span v-for =" (source, index) in cveDetail.sources" :key =" index" >
171
+ <a :href =" source.link" target =" _blank" class =" source-link" >
172
+ {{ source.name }} <i class =" ml-8 icon icon-external-link" />
173
+ </a >
174
+ <span v-if =" index < cveDetail.sources.length - 1" >, </span >
175
+ </span >
171
176
</span >
172
177
</div >
173
178
</div >
@@ -213,7 +218,7 @@ export default {
213
218
</div >
214
219
<div class =" cvss-list" >
215
220
<a v-for =" (score, index) in cveDetail.cvssScores" :key =" index" :href =" score.link" target =" _blank" class =" cvss-link" >
216
- {{ score.source }} {{ score.score }}
221
+ {{ score.source }} {{ score.score }} < i class = " ml-8 icon icon-external-link " />
217
222
</a >
218
223
</div >
219
224
</div >
@@ -284,7 +289,7 @@ export default {
284
289
.about {
285
290
/* layout */
286
291
display : flex ;
287
- padding-bottom : 24 px ;
292
+ padding-bottom : 20 px ;
288
293
flex-direction : column ;
289
294
align-items : flex-start ;
290
295
align-self : stretch ;
@@ -304,14 +309,14 @@ export default {
304
309
305
310
.header-section {
306
311
display : flex ;
307
- align-items : flex-start ;
312
+ align-items : center ;
308
313
gap : 24px ;
309
314
align-self : stretch ;
310
315
311
316
.title {
312
317
display : flex ;
313
318
align-items : flex-start ;
314
- gap : 4 px ;
319
+ gap : 12 px ;
315
320
flex : 1 0 0 ;
316
321
color : #141419 ;
317
322
font-family : Lato;
@@ -360,6 +365,7 @@ export default {
360
365
font-style : normal ;
361
366
font-weight : 400 ;
362
367
line-height : 21px ;
368
+ margin-bottom : 4px ;
363
369
}
364
370
.label {
365
371
display : flex ;
@@ -431,8 +437,8 @@ export default {
431
437
}
432
438
433
439
.ref-url {
434
- display : block ;
435
- color : #0073e6 ;
440
+ display : inline-flex ;
441
+ color : #5696ce ;
436
442
text-decoration : none ;
437
443
word-break : break-all ;
438
444
}
@@ -447,12 +453,13 @@ export default {
447
453
flex-direction : column ;
448
454
}
449
455
.cvss-link , .source-link {
450
- color : #007bff ;
456
+ color : #5696ce ;
451
457
text-decoration : none ;
452
458
margin-bottom : 5px ;
453
459
}
454
460
.cvss-link :hover , .source-link :hover {
455
461
text-decoration : underline ;
462
+
456
463
}
457
464
.popup {
458
465
position : fixed ;
@@ -486,4 +493,12 @@ export default {
486
493
width : 100% ;
487
494
}
488
495
496
+ .table-top-right {
497
+ display : flex ;
498
+ align-items : center ;
499
+ gap : 16px ;
500
+ }
501
+ .ml-8 {
502
+ margin-left : 8px ;
503
+ }
489
504
</style >
0 commit comments