1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix viewport issue in with-react-native-web

This commit is contained in:
Tim Neutkens 2018-05-23 22:44:22 +02:00
parent 7eabccb5f0
commit c461d46efd

View file

@ -34,6 +34,7 @@ export default class MyDocument extends Document {
<html style={{ height: '100%', width: '100%' }}>
<Head>
<title>react-native-web</title>
<meta name='viewport' content='width=device-width, initial-scale=1' />
</Head>
<body style={{ height: '100%', width: '100%', overflowY: 'scroll' }}>
<Main />