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: text formatting issues and upgrade button style updates (#4141)

Yunus Mbb09c8467996
diff --git a/frontend/src/container/Header/Header.styles.scss b/frontend/src/container/Header/Header.styles.scss
index 82dd9b81ff..08db1f8b99 100644
--- a/frontend/src/container/Header/Header.styles.scss
+++ b/frontend/src/container/Header/Header.styles.scss
@@ -8,5 +8,18 @@
.upgrade-link {
padding: 0px;
padding-right: 4px;
+ display: inline !important;
color: white;
+ text-decoration: underline;
+ text-decoration-color: white;
+ text-decoration-thickness: 2px;
+ text-underline-offset: 2px;
+
+ &:hover {
+ color: white;
+ text-decoration: underline;
+ text-decoration-color: white;
+ text-decoration-thickness: 2px;
+ text-underline-offset: 2px;
+ }
}
diff --git a/frontend/src/container/Header/index.tsx b/frontend/src/container/Header/index.tsx
index ff4c560c67..b008e65537 100644
--- a/frontend/src/container/Header/index.tsx
+++ b/frontend/src/container/Header/index.tsx
@@ -1,3 +1,6 @@
+/* eslint-disable jsx-a11y/no-static-element-interactions */
+/* eslint-disable jsx-a11y/anchor-is-valid */
+/* eslint-disable jsx-a11y/click-events-have-key-events */
import './Header.styles.scss';
import {
@@ -135,16 +138,17 @@ function HeaderContainer(): JSX.Element {
<>
{showTrialExpiryBanner && (
<div className="trial-expiry-banner">
- You are in free trial period. Your free trial will end on
+ You are in free trial period. Your free trial will end on{' '}
<span>
{getFormattedDate(licenseData?.payload?.trialEnd || Date.now())}.
</span>
{role === 'ADMIN' ? (
<span>
- Please
- <Button className="upgrade-link" type="link" onClick={handleUpgrade}>
+ {' '}
+ Please{' '}
+ <a className="upgrade-link" onClick={handleUpgrade}>
upgrade
- </Button>
+ </a>
to continue using SigNoz features.
</span>
) : (