Skip to content

Commit

Permalink
docs: fix newsletter popup on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Jul 14, 2020
1 parent c30f424 commit 2a97ee5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@ function MyApp({ Component, pageProps }) {
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<style
dangerouslySetInnerHTML={{
__html: `
@media (max-width: 390px) {
.formkit-slide-in {
display: none;
}
}
@media (max-height: 740px) {
.formkit-slide-in {
display: none;
}
}
`,
}}
/>
</Head>
<Component {...pageProps} />
</>
Expand Down

0 comments on commit 2a97ee5

Please sign in to comment.