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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: css fixes for llm o11y model pricing and overview (#12145)
Gaurav Tewari0b7c266b092b
diff --git a/frontend/src/container/LLMObservability/Overview/Overview.module.scss b/frontend/src/container/LLMObservability/Overview/Overview.module.scssindex d640e1544a..488cdaef6f 100644--- a/frontend/src/container/LLMObservability/Overview/Overview.module.scss+++ b/frontend/src/container/LLMObservability/Overview/Overview.module.scss@@ -9,6 +9,4 @@:global([class*='dashboardPageHeader']) {display: none;}- // remove margin added by the hidden header to avoid extra whitespace at the top of the page- margin-top: calc(var(--spacing-8) * -1);}diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scssindex bdda883563..9ca894cb26 100644--- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scss+++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scss@@ -18,7 +18,7 @@--dialog-footer-padding: var(--spacing-8) var(--spacing-12);display: flex;- overflow-y: auto;+ overflow: hidden;// The drawer body — children render inside [data-slot='drawer-description']// (this is the @signozhq drawer, not antd, so .ant-drawer-body was a no-op).@@ -27,6 +27,8 @@flex-direction: column;gap: var(--spacing-12);padding: var(--spacing-10) var(--spacing-12);+ min-height: 0;+ overflow-y: auto;}[data-slot='select-content'] {diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scssindex 6185c0a806..2207f14279 100644--- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scss+++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scss@@ -51,7 +51,6 @@gap: var(--spacing-5);padding: var(--spacing-6);border-radius: 6px;- background: var(--l2-background);border: 1px solid var(--l2-border);}diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scssindex 698dc1b55a..808c8e62fc 100644--- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scss+++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scss@@ -9,7 +9,6 @@.patternBox {display: flex;flex-direction: column;- gap: var(--spacing-6);padding: var(--spacing-6);border-radius: 6px;border: 1px solid var(--l2-border);@@ -18,14 +17,14 @@.patternChips {display: flex;flex-wrap: wrap;- gap: var(--spacing-3);- min-height: 28px;+ gap: var(--spacing-0) var(--spacing-3);}.patternChip {display: inline-flex;align-items: center;gap: var(--spacing-2);+ margin-bottom: var(--spacing-4);}.patternChipRemove {diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scssindex 2fc083b8ff..fd46bb5532 100644--- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scss+++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scss@@ -30,7 +30,6 @@padding: var(--spacing-5) var(--spacing-6);border-radius: var(--radius-2);border: 1px solid transparent;- background: var(--l3-background);margin: 0;width: 100%;// Include padding + border in the 100% width so the card fits inside@@ -67,16 +66,11 @@// Radix RadioGroupItem renders <button data-state="checked|unchecked">.// Use :has() to highlight the wrapper card when its inner button is checked.- &.sourceRadioAuto:has(button[data-state='checked']) {+ &:has(button[data-state='checked']) {background: color-mix(in srgb, var(--accent-primary) 10%, transparent);border-color: color-mix(in srgb, var(--accent-primary) 30%, transparent);}- &.sourceRadioOverride:has(button[data-state='checked']) {- background: color-mix(in srgb, var(--accent-amber) 10%, transparent);- border-color: color-mix(in srgb, var(--accent-amber) 30%, transparent);- }-&:hover {background: var(--l3-background-hover);}diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.tsx b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.tsxindex 4ad0faea29..72a21c4899 100644--- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.tsx+++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.tsx@@ -60,7 +60,7 @@ function SourceSelector({><RadioGroupItemvalue="auto"- containerClassName={cx(styles.sourceRadio, styles.sourceRadioAuto)}+ containerClassName={styles.sourceRadio}testId="drawer-source-auto"disabled={disableAuto}>@@ -73,7 +73,7 @@ function SourceSelector({</RadioGroupItem><RadioGroupItemvalue="override"- containerClassName={cx(styles.sourceRadio, styles.sourceRadioOverride)}+ containerClassName={styles.sourceRadio}testId="drawer-source-override"><div className={styles.sourceRadioTitle}>User override</div>diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/UnpricedModelsTab/UnpricedModelsTab.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/UnpricedModelsTab/UnpricedModelsTab.module.scssindex b5635a7fab..aa7f1a55c9 100644--- a/frontend/src/container/LLMObservability/Settings/ModelPricing/UnpricedModelsTab/UnpricedModelsTab.module.scss+++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/UnpricedModelsTab/UnpricedModelsTab.module.scss@@ -13,6 +13,7 @@border: 1px solid color-mix(in srgb, var(--bg-amber-400) 30%, transparent);background: color-mix(in srgb, var(--bg-amber-400) 8%, transparent);color: var(--bg-amber-300, var(--bg-amber-400));+ margin-top: var(--spacing-4);}.bannerIcon {