Skip to content

Commit

Permalink
chore: 🔧 update heights length check values
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashRajpurohit committed Oct 27, 2024
1 parent bed5877 commit 7d31178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/svgQuote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export const getSVGQuote = async (
Number(height) <= 1080
) {
cardHeight = Number(height);
} else if (quote.quote.length < 200) {
} else if (quote.quote.length < 160) {
cardHeight = HEIGHTS.small;
} else if (quote.quote.length < 260) {
} else if (quote.quote.length < 220) {
cardHeight = HEIGHTS.medium;
} else {
cardHeight = HEIGHTS.large;
Expand Down

0 comments on commit 7d31178

Please sign in to comment.