From d357d31b309c9c80a7cb6320a893565263c3fe2d Mon Sep 17 00:00:00 2001 From: leon3108 Date: Thu, 18 Jul 2024 20:26:47 +0200 Subject: [PATCH] fix: decrease more card zoom --- src/app/components/pricingCard.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/components/pricingCard.tsx b/src/app/components/pricingCard.tsx index 3ca65f7..41b4486 100644 --- a/src/app/components/pricingCard.tsx +++ b/src/app/components/pricingCard.tsx @@ -15,19 +15,19 @@ export default function PricingCard() { function getScaleValue() { const screenWidth = window.innerWidth if (screenWidth > 1600) { - return 0.7 + return 0.5 } else if (screenWidth > 1200) { - return 0.65 + return 0.45 } else if (screenWidth > 1000) { - return 0.6 + return 0.4 } else if (screenWidth > 800) { - return 0.55 + return 0.35 } else if (screenWidth > 700) { - return 0.5 + return 0.3 } else if (screenWidth > 500) { - return 0.4 + return 0.25 } - return 0.3 + return 0.2 } function onLoad(spline: Application) {