fix: center align cert name in settings

This commit is contained in:
Mrugesh Mohapatra
2019-06-11 16:44:14 +05:30
parent 38b8132d1a
commit 0d82d0a763

View File

@ -231,7 +231,7 @@ export class CertificationSettings extends Component {
renderCertifications = certName => ( renderCertifications = certName => (
<FullWidthRow key={certName}> <FullWidthRow key={certName}>
<Spacer /> <Spacer />
<h3>{certName}</h3> <h3 className='text-center'>{certName}</h3>
<Table> <Table>
<thead> <thead>
<tr> <tr>
@ -404,7 +404,7 @@ export class CertificationSettings extends Component {
return ( return (
<FullWidthRow key={superBlock}> <FullWidthRow key={superBlock}>
<Spacer /> <Spacer />
<h3>{certName}</h3> <h3 className='text-center'>{certName}</h3>
<Form <Form
buttonText={fullForm ? 'Claim Certification' : 'Save Progress'} buttonText={fullForm ? 'Claim Certification' : 'Save Progress'}
enableSubmit={fullForm} enableSubmit={fullForm}