try with vh (#546)

Co-authored-by: Github Actions <action@github.com>
This commit is contained in:
Thibaut Sardan 2020-11-25 03:26:27 -10:00 committed by GitHub
parent 4fba0e9223
commit f534b9197d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<link href="fonts/fonts.css" rel="stylesheet">
</head>
<body style="height: 600px; margin:0; overflow-x:hidden; text-align:center">
<div id="root" style="box-sizing:border-box; margin:0 auto; padding:0; text-align:left; width:560px; height: calc(100% - 2px); max-width: 100%;"></div>
<div id="root" style="box-sizing:border-box; margin:0 auto; padding:0; text-align:left; width:560px; height: calc(100vh - 2px); max-width: 100%;"></div>
<script src='./extension.js'></script>
</body>
</html>

View File

@ -5,8 +5,8 @@
<title>polkadot{.js}</title>
<link href="fonts/fonts.css" rel="stylesheet">
</head>
<body style="height: 621px; margin:0; overflow-x:hidden; text-align:center">
<div id="root" style="box-sizing:border-box; margin:0 auto; padding:0; text-align:left; width:560px; height: calc(100% - 2px); max-width: 100%;"></div>
<body style="margin:0; overflow-x:hidden; text-align:center">
<div id="root" style="box-sizing:border-box; margin:0 auto; padding:0; text-align:left; width:560px; height: calc(100vh - 2px); max-width: 100%;"></div>
<script src='./extension.js'></script>
</body>
</html>