Skip to content

Commit 2a97ee5

Browse files
committed
docs: fix newsletter popup on mobile
1 parent c30f424 commit 2a97ee5

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎docs/src/pages/_app.js‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ function MyApp({ Component, pageProps }) {
2929
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
3030
rel="stylesheet"
3131
/>
32+
<style
33+
dangerouslySetInnerHTML={{
34+
__html: `
35+
@media (max-width: 390px) {
36+
.formkit-slide-in {
37+
display: none;
38+
}
39+
}
40+
@media (max-height: 740px) {
41+
.formkit-slide-in {
42+
display: none;
43+
}
44+
}
45+
`,
46+
}}
47+
/>
3248
</Head>
3349
<Component {...pageProps} />
3450
</>

0 commit comments

Comments
 (0)