Skip to content

Commit 9d80415

Browse files
committed
fix: Right margin on billing confirmation
https://harperdb.atlassian.net/browse/STUDIO-515
1 parent 2c578ef commit 9d80415

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/features/clusters/upsert/ClusterForm.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ export function ClusterForm({
441441
setConfirmingPaymentDetails(false);
442442
}, []);
443443

444+
const pricingMarginRight = !isEnterprise && 'mr-37.5';
444445
return (
445446
<>
446447
{!isEnterprise && (
@@ -455,10 +456,10 @@ export function ClusterForm({
455456
{!confirmingPaymentDetails
456457
? (
457458
<>
458-
<h1 className={cx('text-lg leading-none text-white font-semibold mb-4', !isEnterprise && 'mr-37.5')}>
459+
<h1 className={cx('text-lg leading-none text-white font-semibold mb-4', pricingMarginRight)}>
459460
Cluster Configuration
460461
</h1>
461-
<p className={cx('text-muted-foreground text-sm mb-6', !isEnterprise && 'mr-37.5')}>
462+
<p className={cx('text-muted-foreground text-sm mb-6', pricingMarginRight)}>
462463
Configure your Harper cluster and define deployment plans.
463464
</p>
464465

@@ -482,8 +483,10 @@ export function ClusterForm({
482483
)
483484
: (
484485
<>
485-
<h1 className="text-lg leading-none text-white font-semibold mb-4">Cluster Billing</h1>
486-
<p className="text-muted-foreground text-sm mb-2">
486+
<h1 className={cx('text-lg leading-none text-white font-semibold mb-4', pricingMarginRight)}>
487+
Cluster Billing
488+
</h1>
489+
<p className={cx('text-muted-foreground text-sm mb-2', pricingMarginRight)}>
487490
Please confirm the following billing details:
488491
</p>
489492

0 commit comments

Comments
 (0)