mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 02:15:52 +08:00
fix: text formatting issues and upgrade button style updates (#4141)
This commit is contained in:
parent
fc5f0fbf9e
commit
bb09c84679
@ -8,5 +8,18 @@
|
|||||||
.upgrade-link {
|
.upgrade-link {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
|
display: inline !important;
|
||||||
color: white;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 './Header.styles.scss';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -135,16 +138,17 @@ function HeaderContainer(): JSX.Element {
|
|||||||
<>
|
<>
|
||||||
{showTrialExpiryBanner && (
|
{showTrialExpiryBanner && (
|
||||||
<div className="trial-expiry-banner">
|
<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>
|
<span>
|
||||||
{getFormattedDate(licenseData?.payload?.trialEnd || Date.now())}.
|
{getFormattedDate(licenseData?.payload?.trialEnd || Date.now())}.
|
||||||
</span>
|
</span>
|
||||||
{role === 'ADMIN' ? (
|
{role === 'ADMIN' ? (
|
||||||
<span>
|
<span>
|
||||||
Please
|
{' '}
|
||||||
<Button className="upgrade-link" type="link" onClick={handleUpgrade}>
|
Please{' '}
|
||||||
|
<a className="upgrade-link" onClick={handleUpgrade}>
|
||||||
upgrade
|
upgrade
|
||||||
</Button>
|
</a>
|
||||||
to continue using SigNoz features.
|
to continue using SigNoz features.
|
||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user