Skip to content

Commit

Permalink
replace Container with Row
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenltnguyen committed Nov 6, 2023
1 parent f181b67 commit c03934b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions client/src/pages/email-sign-up.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
font-size: 1rem;
}

/*
This is a temporary fix until the component library is revisited.
See https://github.com/freeCodeCamp/freeCodeCamp/issues/52131#issuecomment-1788840851.
*/
.email-list-opt {
/*
This is a temporary fix until the component library is revisited.
See https://github.com/freeCodeCamp/freeCodeCamp/issues/52131#issuecomment-1788840851.
*/
display: flex;
flex-wrap: wrap;
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/email-sign-up.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function EmailListOptIn({
const { t } = useTranslation();
if (isSignedIn) {
return (
<Container className='email-list-opt'>
<Row className='email-list-opt'>
<Col md={4} mdOffset={2} sm={5} smOffset={1} xs={12}>
<Button
block={true}
Expand All @@ -86,7 +86,7 @@ function EmailListOptIn({
</Button>
<Spacer size='small' />
</Col>
</Container>
</Row>
);
} else {
return (
Expand Down

0 comments on commit c03934b

Please sign in to comment.