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.

fix: fixed table panel no scroll issue due to style override from calender component (#8996)

SagarRajput-77602d863dd8e
diff --git a/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss b/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss
index f695d8cbd2..694559d0d1 100644
--- a/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss
+++ b/frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss
@@ -20,13 +20,15 @@
.ant-card-body {
height: calc(100% - 18px);
- .widget-graph-container {
- &.bar {
- height: calc(100% - 110px);
- }
-
- &.graph {
- height: calc(100% - 80px);
+ .widget-graph-component-container {
+ .widget-graph-container {
+ &.bar-panel-container {
+ height: calc(100% - 110px);
+ }
+
+ &.graph-panel-container {
+ height: calc(100% - 80px);
+ }
}
}
}
@@ -82,9 +84,11 @@
.ant-card-body {
height: calc(100% - 18px);
- .widget-graph-container {
- &.bar {
- height: calc(100% - 110px);
+ .widget-graph-component-container {
+ .widget-graph-container {
+ &.bar-panel-container {
+ height: calc(100% - 110px);
+ }
}
}
}
diff --git a/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss b/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss
index bb9d3c3e72..d174b8ea6b 100644
--- a/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss
+++ b/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.styles.scss
@@ -48,10 +48,10 @@
line-height: 36px;
}
}
- &__graph {
+ &__alert-history-graph {
margin-top: 80px;
- .graph {
+ .alert-history-graph {
width: 100%;
height: 72px;
}
diff --git a/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.tsx b/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.tsx
index f204579f93..84a703a838 100644
--- a/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.tsx
+++ b/frontend/src/container/AlertHistory/Statistics/StatsCard/StatsCard.tsx
@@ -135,8 +135,8 @@ function StatsCard({
/>
</div>
- <div className="stats-card__graph">
- <div className="graph">
+ <div className="stats-card__alert-history-graph">
+ <div className="alert-history-graph">
{!isEmpty && timeSeries.length > 1 && (
<StatsGraph timeSeries={timeSeries} changeDirection={changeDirection} />
)}
diff --git a/frontend/src/container/GridCardLayout/GridCard/WidgetGraphComponent.tsx b/frontend/src/container/GridCardLayout/GridCard/WidgetGraphComponent.tsx
index cf9c35031d..6279fe9100 100644
--- a/frontend/src/container/GridCardLayout/GridCard/WidgetGraphComponent.tsx
+++ b/frontend/src/container/GridCardLayout/GridCard/WidgetGraphComponent.tsx
@@ -325,6 +325,7 @@ function WidgetGraphComponent({
setHovered(false);
}}
id={widget.id}
+ className="widget-graph-component-container"
>
<Modal
destroyOnClose
@@ -396,7 +397,10 @@ function WidgetGraphComponent({
)}
{(queryResponse.isSuccess || widget.panelTypes === PANEL_TYPES.LIST) && (
<div
- className={cx('widget-graph-container', widget.panelTypes)}
+ className={cx(
+ 'widget-graph-container',
+ `${widget.panelTypes}-panel-container`,
+ )}
ref={graphRef}
>
<PanelWrapper
diff --git a/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss b/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss
index 2d6a2314ba..7ba8c79c4f 100644
--- a/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss
+++ b/frontend/src/container/GridCardLayout/GridCardLayout.styles.scss
@@ -41,9 +41,11 @@
}
}
- .widget-graph-container {
- &.graph {
- height: 100%;
+ .widget-graph-component-container {
+ .widget-graph-container {
+ &.graph-panel-container {
+ height: 100%;
+ }
}
}
}
@@ -89,11 +91,13 @@
}
}
-.widget-graph-container {
- height: 100%;
+.widget-graph-component-container {
+ .widget-graph-container {
+ height: 100%;
- &.graph {
- height: calc(100% - 30px);
+ &.graph-panel-container {
+ height: calc(100% - 30px);
+ }
}
}