Window height back to 621 and set 100% (#541)

* back to 621 and set 100%

* not nedeed on root html element

Co-authored-by: Github Actions <action@github.com>
This commit is contained in:
Thibaut Sardan 2020-11-23 07:49:09 -10:00 committed by GitHub
parent a0897fdec8
commit 372dd54cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ let idCounter = 0;
const WINDOW_OPTS = {
// This is not allowed on FF, only on Chrome - disable completely
// focused: true,
height: 600,
height: 621,
left: 150,
top: 150,
type: 'popup',

View File

@ -5,7 +5,7 @@
<title>polkadot{.js}</title>
<link href="fonts/fonts.css" rel="stylesheet">
</head>
<body style="height: 600px; margin:0; overflow-x:hidden; text-align:center">
<body style="min-height: 600px; height: 100%; 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>
<script src='./extension.js'></script>
</body>