Skip to content

Commit

Permalink
fix: decrease more card zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon-azerty committed Jul 18, 2024
1 parent 295e58c commit d357d31
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/app/components/pricingCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d357d31

Please sign in to comment.