Skip to content

Commit

Permalink
fix: make iframe clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Feb 15, 2024
1 parent 92931d0 commit 8269817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Blog/BannerForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const BannerForm = ({ title, subtitle }: { title: string; subtitle: string }) =>
<Container>
<div className={css.container}>
<Grid container spacing="30px">
<img src="/images/banner-lines.svg" className={css.image} />
<Grid item xs={12} md={6} className={css.centeredContent}>
<Typography variant="h2">{title}</Typography>
<Typography variant="h4" mt="16px">
Expand All @@ -16,7 +17,6 @@ const BannerForm = ({ title, subtitle }: { title: string; subtitle: string }) =>
<Grid item xs={12} md={6} className={css.centeredContent} mt={3}>
<iframe src={MIRROR_SUBSCRIBE_LINK} />
</Grid>
<img src="/images/banner-lines.svg" className={css.image} />
</Grid>
</div>
</Container>
Expand Down
1 change: 1 addition & 0 deletions src/components/Blog/BannerForm/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

.container iframe {
border: 0;
z-index: 1000;
}

.image {
Expand Down

0 comments on commit 8269817

Please sign in to comment.