diff --git a/.changeset/ten-forks-shout.md b/.changeset/ten-forks-shout.md new file mode 100644 index 00000000000..9aa760f02b4 --- /dev/null +++ b/.changeset/ten-forks-shout.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': patch +--- + +Removes white space from PlanCard when the ctaPosition is top and there are no features diff --git a/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx b/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx index c34e0f3863c..71918508969 100644 --- a/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx +++ b/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx @@ -193,7 +193,7 @@ function Card(props: CardProps) { gap: 0, }} > - {!collapseFeatures ? ( + {(ctaPosition === 'bottom' && !collapseFeatures) || (ctaPosition === 'top' && hasFeatures) ? ( ({