0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-17 22:31:28 -05:00

chore(console): update add on tag CSS (#6459)

This commit is contained in:
Darcy Ye 2024-08-19 11:35:39 +08:00 committed by GitHub
parent cea8aa1120
commit 1817eafe77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -14,4 +14,8 @@
.beta {
background-color: var(--color-specific-tag-test);
&.addOn {
text-transform: none;
}
}

View file

@ -85,7 +85,9 @@ export function CombinedAddOnAndFeatureTag(props: CombinedAddOnAndFeatureTagProp
// Show the "Add-on" tag for Pro plan when dev features enabled.
if (hasAddOnTag && isDevFeaturesEnabled && isCloud && planId === ReservedPlanId.Pro) {
return <div className={classNames(styles.tag, styles.beta, className)}>Add-on</div>;
return (
<div className={classNames(styles.tag, styles.beta, styles.addOn, className)}>Add-on</div>
);
}
if (paywall && isCloud) {