Skip to content

Commit

Permalink
style: Fix Donation date styling
Browse files Browse the repository at this point in the history
  • Loading branch information
anshg1214 committed Sep 17, 2024
1 parent 4ff5c92 commit 1c38c1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/css/donors-page.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
display: flex;
color: #6b7280;
gap: 10px;
align-items: center;
align-items: baseline;
}
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/js/src/donors/Donors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ function Donors() {
</div>
<div className="donation-date">
<FontAwesomeIcon icon={faCalendar} />
<p>
<span>
Donation Date:{" "}
{new Date(donor.donated_at).toLocaleDateString()}
</p>
</span>
</div>
</div>
<div className="donor-stats">
Expand Down

0 comments on commit 1c38c1a

Please sign in to comment.