Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Refactor PricingCard and PricingSection components to remove unnecessary gap class from billing toggle for improved layout consistency.

Bill Yang4e7d86150cc2
diff --git a/client/src/app/subscribe/components/PricingCard.tsx b/client/src/app/subscribe/components/PricingCard.tsx
index ab1fa3a77..dbffc1bde 100644
--- a/client/src/app/subscribe/components/PricingCard.tsx
+++ b/client/src/app/subscribe/components/PricingCard.tsx
@@ -117,7 +117,7 @@ export function PricingCard({ isLoggedIn }: { isLoggedIn: boolean }) {
</div>
<div className="flex flex-col items-end">
{/* Billing toggle */}
- <div className="flex gap-3 mb-2 text-sm">
+ <div className="flex mb-2 text-sm">
<button
onClick={() => setIsAnnual(false)}
className={cn(
diff --git a/docs/src/components/PricingSection.tsx b/docs/src/components/PricingSection.tsx
index 68d627d43..3c5b5818a 100644
--- a/docs/src/components/PricingSection.tsx
+++ b/docs/src/components/PricingSection.tsx
@@ -160,7 +160,7 @@ export function PricingSection() {
</div>
<div className="flex flex-col items-end">
{/* Billing toggle */}
- <div className="flex gap-3 mb-2 text-sm">
+ <div className="flex mb-2 text-sm">
<button
onClick={() => setIsAnnual(false)}
className={cn(