diff --git a/apps/potlock/widget/Components/Banner.jsx b/apps/potlock/widget/Components/Banner.jsx index 8ab55db..1ac06f5 100644 --- a/apps/potlock/widget/Components/Banner.jsx +++ b/apps/potlock/widget/Components/Banner.jsx @@ -98,11 +98,6 @@ const Container = styled.div` gap: 0.5rem; } } - // @media screen and (max-width: 480px) { - // .text { - // font-size: 9px; - // } - // } `; const isSingleRound = activeRounds.length === 1; const limit = isSingleRound ? 20 : 10; diff --git a/apps/potlock/widget/Components/Header.jsx b/apps/potlock/widget/Components/Header.jsx index b87871e..215e665 100644 --- a/apps/potlock/widget/Components/Header.jsx +++ b/apps/potlock/widget/Components/Header.jsx @@ -67,6 +67,7 @@ const Underline = styled.div` @media (max-width: 768px) { top: 30px; left: -30px; + } `; const containerStyle = props.containerStyle ?? {}; diff --git a/apps/potlock/widget/Project/Card.jsx b/apps/potlock/widget/Project/Card.jsx index 34a365c..896101d 100644 --- a/apps/potlock/widget/Project/Card.jsx +++ b/apps/potlock/widget/Project/Card.jsx @@ -397,9 +397,9 @@ const [totalAmountNear, totalDonors] = useMemo(() => { if (!donors.includes(donation.donor_id)) { donors.push(donation.donor_id); } - // if (donation.ft_id === "near" || donation.base_currency === "near") { - totalDonationAmountNear = totalDonationAmountNear.plus(new Big(donation.total_amount)); - // } + if (donation.ft_id === "near" || donation.base_currency === "near") { + totalDonationAmountNear = totalDonationAmountNear.plus(new Big(donation.total_amount)); + } } return [totalDonationAmountNear.toString(), donors.length]; }, [donationsForProject]);