mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-25 07:27:04 +00:00
Use 'Current' badge and style active plan pill
This commit is contained in:
@@ -272,7 +272,7 @@ const TabHome = {
|
||||
$el_window.find('.bento-plan-name').text(i18n(planName));
|
||||
|
||||
if ( hasSubscription ) {
|
||||
$el_window.find('.bento-plan-badge').text('Active subscription').addClass('active');
|
||||
$el_window.find('.bento-plan-badge').text('Current').addClass('active');
|
||||
$el_window.find('.bento-plan-upgrade').text('Manage →').show();
|
||||
} else {
|
||||
$el_window.find('.bento-plan-badge').text('Upgrade for more features').addClass('free');
|
||||
|
||||
@@ -2795,7 +2795,14 @@ body {
|
||||
}
|
||||
|
||||
.dashboard .bento-plan-badge.active {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--dashboard-success-text);
|
||||
background: var(--dashboard-success-background);
|
||||
border: 1px solid var(--dashboard-success-border);
|
||||
}
|
||||
|
||||
.dashboard .bento-plan-upgrade {
|
||||
|
||||
Reference in New Issue
Block a user