Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

removed conflict of loader (#1144)

JeevaRamanathan2516d7aa4e29
diff --git a/components/billing/upgrade-plan-modal.tsx b/components/billing/upgrade-plan-modal.tsx
index c58dc82e..d7d9964e 100644
--- a/components/billing/upgrade-plan-modal.tsx
+++ b/components/billing/upgrade-plan-modal.tsx
@@ -230,8 +230,8 @@ export function UpgradePlanModal({
variant={planOption === "Business" ? "default" : "outline"}
className={`w-full py-2 text-sm ${
planOption === "Business"
- ? "bg-[#fb7a00] text-white hover:bg-[#fb7a00]"
- : "bg-gray-800 text-white hover:bg-gray-900 hover:text-white"
+ ? "bg-[#fb7a00]/90 text-white hover:bg-[#fb7a00]"
+ : "bg-gray-800 text-white hover:bg-gray-900 hover:text-white dark:hover:bg-gray-700/80"
}`}
loading={selectedPlan === planOption} // Show loading only for the clicked plan
disabled={selectedPlan !== null}
diff --git a/pages/settings/upgrade.tsx b/pages/settings/upgrade.tsx
index 137ab29c..6356f916 100644
--- a/pages/settings/upgrade.tsx
+++ b/pages/settings/upgrade.tsx
@@ -147,8 +147,8 @@ export default function UpgradePage() {
variant={planOption === "Business" ? "default" : "default"}
className={`w-full py-2 text-sm ${
planOption === "Business"
- ? "bg-[#fb7a00] text-white hover:bg-[#fb7a00]/80"
- : "bg-gray-800 text-white hover:bg-gray-900"
+ ? "bg-[#fb7a00]/90 text-white hover:bg-[#fb7a00]"
+ : "bg-gray-800 text-white hover:bg-gray-900 dark:hover:bg-gray-700/80"
}`}
loading={selectedPlan === planOption} // Show loading only for the clicked plan
disabled={selectedPlan !== null}