diff --git a/.changeset/rare-memes-count.md b/.changeset/rare-memes-count.md new file mode 100644 index 00000000000..c3f5964b5ae --- /dev/null +++ b/.changeset/rare-memes-count.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': patch +--- + +Fix list spacing within PricingTable and PlanDetails components. diff --git a/packages/clerk-js/src/ui/components/Plans/PlanDetails.tsx b/packages/clerk-js/src/ui/components/Plans/PlanDetails.tsx index 4844ab05756..9218e73d2f2 100644 --- a/packages/clerk-js/src/ui/components/Plans/PlanDetails.tsx +++ b/packages/clerk-js/src/ui/components/Plans/PlanDetails.tsx @@ -151,6 +151,7 @@ const _PlanDetails = ({ display: 'grid', rowGap: t.space.$6, padding: t.space.$4, + margin: 0, })} > {features.map(feature => ( diff --git a/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx b/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx index c34d397a251..83e64e04244 100644 --- a/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx +++ b/packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx @@ -470,6 +470,8 @@ const CardFeaturesList = React.forwardRef sx={t => ({ flex: '1', rowGap: isCompact ? t.space.$2 : t.space.$3, + margin: 0, + padding: 0, })} > {plan.features.slice(0, hasMoreFeatures ? (isCompact ? 3 : 8) : totalFeatures).map(feature => ( @@ -482,6 +484,8 @@ const CardFeaturesList = React.forwardRef display: 'flex', alignItems: 'baseline', gap: t.space.$2, + margin: 0, + padding: 0, })} >