fix: align completion modal buttons (#39509)

This commit is contained in:
Ahmad Abdolsaheb
2020-09-02 11:38:14 +03:00
committed by GitHub
parent a050de56bb
commit ce777e43d2
2 changed files with 2 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ function Login(props) {
return (
<Button
bsStyle='default'
className={(block ? 'btn-cta-big' : '') + ' signup-btn btn-cta'}
className={(block ? 'btn-cta-big btn-block' : '') + ' signup-btn btn-cta'}
data-test-label={dataTestLabel}
href={href}
onClick={() => gtagReportConversion()}

View File

@@ -217,14 +217,7 @@ export class CompletionModalInner extends Component {
</Modal.Body>
<Modal.Footer>
{isSignedIn ? null : (
<Login
block={true}
bsSize='lg'
bsStyle='primary'
className='btn-cta'
>
Sign in to save your progress
</Login>
<Login block={true}>Sign in to save your progress</Login>
)}
<Button
block={true}