Skip to content

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

Update PricingSection component to adjust the styling of the promotional text for better visibility and layout consistency.

Bill Yang392d55e9cde8
diff --git a/docs/src/components/PricingSection.tsx b/docs/src/components/PricingSection.tsx
index 5a32eedee..2ad8906ba 100644
--- a/docs/src/components/PricingSection.tsx
+++ b/docs/src/components/PricingSection.tsx
@@ -187,7 +187,7 @@ export function PricingSection({ isAnnual, setIsAnnual }: { isAnnual: boolean, s
>
{t("Annual")}
</button>
- <div className="text-xs text-white absolute top-0 right-0 -translate-y-3 translate-x-1/2 bg-emerald-500 dark:bg-emerald-500 rounded-full px-2 py-0.5">
+ <div className="text-xs text-white absolute top-0 right-0 -translate-y-3 bg-emerald-500 dark:bg-emerald-500 rounded-full px-2 py-0.5 whitespace-nowrap">
{t("4 months free")}
</div>
</div>