Skip to content

Commit

Permalink
change target container highlight style on ephemeral hover
Browse files Browse the repository at this point in the history
  • Loading branch information
iximiuz committed Feb 10, 2024
1 parent ccdefa6 commit 2edeb71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/src/components/KubeObjectViewerPodContainers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ function _containerClass(c: V1Container, kind: "ephemeral" | "init" | "sidecar"
if (kind !== "ephemeral" && hoveredEphemeral.value && hoveredEphemeral.value.targetContainerName) {
if (hoveredEphemeral.value.targetContainerName === c.name) {
classes.push("opacity-100");
} else {
classes.push("opacity-50");
classes.push("!bg-[rgb(36,158,235)]");
}
}
Expand Down

0 comments on commit 2edeb71

Please sign in to comment.