mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
fix: tabs alignment (#6768)
This commit is contained in:
parent
717e541003
commit
e0ea257f07
@ -6,7 +6,7 @@ import type { IBanner } from '../../../interfaces/banner';
|
||||
export const EdgeUpgradeBanner = () => {
|
||||
const displayUpgradeEdgeBanner = useUiFlag('displayUpgradeEdgeBanner');
|
||||
const upgradeEdgeBanner: IBanner = {
|
||||
message: `We noticed that you're using an outdated Unleash Edge. To ensure you continue to receive metrics, we recommend upgrading to v17.0.0 or later.`,
|
||||
message: `We noticed that an outdated Edge version is connected to this Unleash instance. To ensure you continue to receive metrics, we recommend upgrading to v17.0.0 or later.`,
|
||||
link: 'https://github.com/Unleash/unleash-edge',
|
||||
linkText: 'Get latest',
|
||||
variant: 'warning',
|
||||
|
@ -32,7 +32,7 @@ export const OutdatedSdksBanner = () => {
|
||||
};
|
||||
|
||||
const outdatedSdksBanner: IBanner = {
|
||||
message: `We noticed that you're using outdated SDKs. `,
|
||||
message: `We noticed that an outdated SDK version is connected to this Unleash instance.`,
|
||||
variant: 'warning',
|
||||
link: 'dialog',
|
||||
linkText: 'Please update those versions',
|
||||
|
@ -272,20 +272,23 @@ export const Project = () => {
|
||||
tab.isEnterprise ? 'end' : undefined
|
||||
}
|
||||
icon={
|
||||
<span>
|
||||
<>
|
||||
<ConditionallyRender
|
||||
condition={Boolean(tab.new)}
|
||||
show={
|
||||
// extra span to avoid badge getting color override from the overly specific parent component
|
||||
<span>
|
||||
<StyledBadge color='success'>
|
||||
Beta
|
||||
</StyledBadge>
|
||||
</span>
|
||||
}
|
||||
/>
|
||||
{(tab.isEnterprise &&
|
||||
isPro() &&
|
||||
enterpriseIcon) ||
|
||||
undefined}
|
||||
</span>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user