Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/rare-memes-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Fix list spacing within PricingTable and PlanDetails components.
1 change: 1 addition & 0 deletions packages/clerk-js/src/ui/components/Plans/PlanDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ const _PlanDetails = ({
display: 'grid',
rowGap: t.space.$6,
padding: t.space.$4,
margin: 0,
})}
>
{features.map(feature => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ const CardFeaturesList = React.forwardRef<HTMLDivElement, CardFeaturesListProps>
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 => (
Expand All @@ -482,6 +484,8 @@ const CardFeaturesList = React.forwardRef<HTMLDivElement, CardFeaturesListProps>
display: 'flex',
alignItems: 'baseline',
gap: t.space.$2,
margin: 0,
padding: 0,
})}
>
<Icon
Expand Down
Loading