Skip to content

Commit c53b62b

Browse files
committed
refactor: remove unused styles from K8Resource component and simplify status filter container
1 parent 8e60e30 commit c53b62b

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

src/components/v2/appDetails/k8Resource/K8Resource.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export const K8ResourceComponent = ({
146146
className="dc__border-right--n1 dc__overflow-hidden flexbox-col dc__no-shrink w-250"
147147
data-testid="k8-resources-node-tree"
148148
>
149-
<div className="pt-16 pb-15 px-16 border__secondary--bottom k8s-resources__status-filter--container">
149+
<div className="pt-16 pb-15 px-16 border__secondary--bottom">
150150
<StatusFilterButtonComponent
151151
nodes={nodes}
152152
selectedTab={currentFilter}

src/components/v2/appDetails/k8Resource/k8resources.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,3 @@
4545
}
4646
}
4747
}
48-
49-
.k8s-resources {
50-
&__status-filter--container {
51-
.segmented-control {
52-
border-radius: 6px;
53-
}
54-
}
55-
56-
&__status-filter--container:has(.popup-button-kebab) {
57-
.segmented-control {
58-
border-top-right-radius: 0px !important;
59-
border-bottom-right-radius: 0px !important;
60-
}
61-
}
62-
}

0 commit comments

Comments
 (0)