From 9c25a33cd90a62d3ea8ef622578491fe9e691eb8 Mon Sep 17 00:00:00 2001 From: SagarRajput-7 <162284829+SagarRajput-7@users.noreply.github.com> Date: Mon, 24 Mar 2025 21:13:49 +0530 Subject: [PATCH] fix: prevented infraMonitoring styles from overriding at other places (#7425) --- .../InfraMonitoringK8s.styles.scss | 56 ++++++++++--------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss b/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss index 7386529cf5..b237d81bd9 100644 --- a/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss +++ b/frontend/src/container/InfraMonitoringK8s/InfraMonitoringK8s.styles.scss @@ -702,29 +702,36 @@ } } -.ant-table-cell { - min-width: 140px !important; - max-width: 140px !important; -} - -.ant-table-cell { - &:has(.pod-name-header) { - min-width: 250px !important; - max-width: 250px !important; - } -} - -.ant-table-cell { - &:has(.med-col) { - min-width: 180px !important; - max-width: 180px !important; - } -} - -.expanded-k8s-list-table { +.infra-monitoring-container { .ant-table-cell { - min-width: 180px !important; - max-width: 180px !important; + min-width: 140px !important; + max-width: 140px !important; + } + + .ant-table-cell { + &:has(.pod-name-header) { + min-width: 250px !important; + max-width: 250px !important; + } + } + + .ant-table-cell { + &:has(.med-col) { + min-width: 180px !important; + max-width: 180px !important; + } + } + + .expanded-k8s-list-table { + .ant-table-cell { + min-width: 180px !important; + max-width: 180px !important; + } + + .ant-table-row-expand-icon-cell { + min-width: 30px !important; + max-width: 30px !important; + } } .ant-table-row-expand-icon-cell { @@ -733,11 +740,6 @@ } } -.ant-table-row-expand-icon-cell { - min-width: 30px !important; - max-width: 30px !important; -} - .event-content-container { .ant-table { background: var(--bg-ink-400);