Commit c461d46e authored by Tim Neutkens's avatar Tim Neutkens

Fix viewport issue in with-react-native-web

parent 7eabccb5
...@@ -34,6 +34,7 @@ export default class MyDocument extends Document { ...@@ -34,6 +34,7 @@ export default class MyDocument extends Document {
<html style={{ height: '100%', width: '100%' }}> <html style={{ height: '100%', width: '100%' }}>
<Head> <Head>
<title>react-native-web</title> <title>react-native-web</title>
<meta name='viewport' content='width=device-width, initial-scale=1' />
</Head> </Head>
<body style={{ height: '100%', width: '100%', overflowY: 'scroll' }}> <body style={{ height: '100%', width: '100%', overflowY: 'scroll' }}>
<Main /> <Main />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment