We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5217155 commit a92f8feCopy full SHA for a92f8fe
2 files changed
.changeset/ten-forks-shout.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/clerk-js': patch
3
4
+
5
+Removes white space from PlanCard when the ctaPosition is top and there are no features
packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx
@@ -193,7 +193,7 @@ function Card(props: CardProps) {
193
gap: 0,
194
}}
195
>
196
- {!collapseFeatures ? (
+ {(ctaPosition === 'bottom' && !collapseFeatures) || (ctaPosition === 'top' && hasFeatures) ? (
197
<Box
198
elementDescriptor={descriptors.pricingTableCardFeatures}
199
sx={t => ({
0 commit comments