Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Rb3 committed Apr 25, 2024
1 parent 2367f04 commit 413a3e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 0 additions & 5 deletions apps/potlock/widget/Components/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions apps/potlock/widget/Components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const Underline = styled.div`
@media (max-width: 768px) {
top: 30px;
left: -30px;
}
`;

const containerStyle = props.containerStyle ?? {};
Expand Down
6 changes: 3 additions & 3 deletions apps/potlock/widget/Project/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 413a3e0

Please sign in to comment.