Skip to content

Commit 2ab5cb0

Browse files
committed
fix(vexhub): Fix Vex management detail styling
Removes empty labels/annotations in masthead metadata to align with UX design
1 parent d95b07e commit 2ab5cb0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkg/sbombastic-image-vulnerability-scanner/detail/sbombastic.rancher.io.vexhub.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const defaultMastheadProps = computed(() => {
6464
<template>
6565
<DetailPage>
6666
<template #top-area>
67-
<Masthead v-bind="defaultMastheadProps">
67+
<Masthead class="masthead" v-bind="defaultMastheadProps">
6868
<template #additional-actions>
6969
<button
7070
data-testid="detail-explore-button"
@@ -85,4 +85,10 @@ const defaultMastheadProps = computed(() => {
8585
.btn.actions {
8686
gap: 12px;
8787
}
88+
89+
/* Hide empty labels and annotations section */
90+
/* TODO: Remove when rancher provides option in their masthead component */
91+
.masthead:deep(.labels-and-annotations-empty) {
92+
display: none;
93+
}
8894
</style>

0 commit comments

Comments
 (0)