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:
parent
cea8aa1120
commit
1817eafe77
2 changed files with 7 additions and 1 deletions
|
@ -14,4 +14,8 @@
|
|||
|
||||
.beta {
|
||||
background-color: var(--color-specific-tag-test);
|
||||
|
||||
&.addOn {
|
||||
text-transform: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue