From a5969ac0e5295278bf30ea18a22b7ccddbc24621 Mon Sep 17 00:00:00 2001 From: Ahmad Abdolsaheb Date: Tue, 19 Nov 2019 16:47:57 +0300 Subject: [PATCH] fix(donate): update font to Lato on paragraphs --- client/src/components/Donation/Donation.css | 6 ++++++ client/src/components/Donation/components/DonateForm.js | 2 +- client/src/components/Donation/components/DonateText.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/client/src/components/Donation/Donation.css b/client/src/components/Donation/Donation.css index 9ff7590e5b..e5f22b5563 100644 --- a/client/src/components/Donation/Donation.css +++ b/client/src/components/Donation/Donation.css @@ -153,3 +153,9 @@ li.disabled > a { border: 2px solid var(--gray-15) !important; color: var(--gray-15) !important; } + +.donate-text p, +.donation-description, +[name='payment-method'] { + font-family: 'Lato', sans-serif; +} diff --git a/client/src/components/Donation/components/DonateForm.js b/client/src/components/Donation/components/DonateForm.js index f00c2c58db..fad11f1611 100644 --- a/client/src/components/Donation/components/DonateForm.js +++ b/client/src/components/Donation/components/DonateForm.js @@ -184,7 +184,7 @@ class DonateForm extends Component { {this.renderAmountButtons(duration)} -

+

{`Your `} {this.getFormatedAmountLabel(donationAmount)} {` donation will provide `} diff --git a/client/src/components/Donation/components/DonateText.js b/client/src/components/Donation/components/DonateText.js index 9e54c8e24f..7e4aa8211f 100644 --- a/client/src/components/Donation/components/DonateText.js +++ b/client/src/components/Donation/components/DonateText.js @@ -3,7 +3,7 @@ import { Row, Col } from '@freecodecamp/react-bootstrap'; const DonateText = () => { return ( - +

freeCodeCamp is a highly efficient education nonprofit.