@@ -5,14 +5,14 @@ import { Trans, useTranslation } from 'react-i18next';
55import { connect } from 'react-redux' ;
66import { bindActionCreators , Dispatch } from 'redux' ;
77import { createSelector } from 'reselect' ;
8- import { Container , Col , Row , Image , Button } from '@freecodecamp/ui' ;
8+ import { Container , Col , Row , Image , Button , Spacer } from '@freecodecamp/ui' ;
99
1010import envData from '../../config/env.json' ;
1111import { getLangCode } from '../../../shared/config/i18n' ;
1212import FreeCodeCampLogo from '../assets/icons/freecodecamp' ;
1313import MicrosoftLogo from '../assets/icons/microsoft-logo' ;
1414import { createFlashMessage } from '../components/Flash/redux' ;
15- import { Loader , Spacer } from '../components/helpers' ;
15+ import { Loader } from '../components/helpers' ;
1616import RedirectHome from '../components/redirect-home' ;
1717import { Themes } from '../components/settings/theme' ;
1818import { showCert , fetchProfileForUser } from '../redux/actions' ;
@@ -253,7 +253,7 @@ const ShowCertification = (props: ShowCertificationProps): JSX.Element => {
253253 className = 'donation-section'
254254 data-playwright-test-label = 'donation-section'
255255 >
256- < Spacer size = 'large ' />
256+ < Spacer size = 'l ' />
257257 { ! isDonationSubmitted && (
258258 < Row >
259259 < Col lg = { 8 } lgOffset = { 2 } sm = { 10 } smOffset = { 1 } xs = { 12 } >
@@ -280,13 +280,13 @@ const ShowCertification = (props: ShowCertificationProps): JSX.Element => {
280280 />
281281 </ Col >
282282 </ Row >
283- < Spacer size = 'medium ' />
283+ < Spacer size = 'm ' />
284284 < Row >
285285 < Col sm = { 4 } smOffset = { 4 } xs = { 6 } xsOffset = { 3 } >
286286 { isDonationSubmitted && donationCloseBtn }
287287 </ Col >
288288 </ Row >
289- < Spacer size = 'large ' />
289+ < Spacer size = 'l ' />
290290 </ div >
291291 ) ;
292292
@@ -308,7 +308,7 @@ const ShowCertification = (props: ShowCertificationProps): JSX.Element => {
308308 >
309309 { t ( 'profile.add-linkedin' ) }
310310 </ Button >
311- < Spacer size = 'medium ' />
311+ < Spacer size = 'm ' />
312312 < Button
313313 block = { true }
314314 size = 'large'
@@ -323,7 +323,7 @@ const ShowCertification = (props: ShowCertificationProps): JSX.Element => {
323323 { t ( 'profile.add-twitter' ) }
324324 </ Button >
325325 </ Col >
326- < Spacer size = 'large ' />
326+ < Spacer size = 'l ' />
327327 </ Row >
328328 ) ;
329329
@@ -484,11 +484,11 @@ const ShowCertification = (props: ShowCertificationProps): JSX.Element => {
484484 className = 'row certificate-links'
485485 data-playwright-test-label = 'cert-links'
486486 >
487- < Spacer size = 'large ' />
487+ < Spacer size = 'l ' />
488488 { signedInUserName === username ? shareCertBtns : '' }
489- < Spacer size = 'large ' />
489+ < Spacer size = 'l ' />
490490 < ShowProjectLinks certName = { certTitle } name = { displayName } user = { user } />
491- < Spacer size = 'large ' />
491+ < Spacer size = 'l ' />
492492 </ div >
493493 </ Container >
494494 ) ;
0 commit comments