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:
parent
7eabccb5f0
commit
c461d46efd
|
@ -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 />
|
||||||
|
|
Loading…
Reference in a new issue