Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

[Refactor]: updated css for height of Panel in LeftContainer (#4030)

Rajat Dabade8ee92516cac0
diff --git a/frontend/src/container/GridTableComponent/styles.ts b/frontend/src/container/GridTableComponent/styles.ts
index d95fc46287..22c3dbb1fe 100644
--- a/frontend/src/container/GridTableComponent/styles.ts
+++ b/frontend/src/container/GridTableComponent/styles.ts
@@ -1,7 +1,7 @@
import styled from 'styled-components';
export const WrapperStyled = styled.div`
- height: 100%;
+ height: 95%;
overflow: hidden;
& .ant-table-wrapper {
diff --git a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/styles.ts b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/styles.ts
index be05660ea8..b1bf36b588 100644
--- a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/styles.ts
+++ b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/styles.ts
@@ -12,9 +12,9 @@ export const Container = styled(Card)<Props>`
}
.ant-card-body {
- padding: 8px;
+ padding: ${({ $panelType }): string =>
+ $panelType === PANEL_TYPES.TABLE ? '0 0' : '1.5rem 0'};
height: 57vh;
- overflow: auto;
display: flex;
flex-direction: column;
}