Hack to hide scrollbars on popups (#86)

* hack to hide scrollbars

* overflow-x hidden
This commit is contained in:
Thibaut Sardan 2019-07-16 08:41:23 +02:00 committed by Jaco Greeff
parent be53fd3b40
commit 2cdb8332cc
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>polkadot{.js}</title>
</head>
<body style="background:#f5f6f7; box-sizing:border-box; height:580px; margin:0; padding:0 1rem; width:480px;">
<body style="background:#f5f6f7; box-sizing:border-box; height:580px; margin:0; overflow-x: hidden; padding:0 1rem; width:480px;">
<div id="root"></div>
<script src='./popup.js'></script>
</body>

View File

@ -91,7 +91,7 @@ export default class State {
extension.windows.create({
// This is not allowed on FF, only on Chrome - disable completely
// focused: true,
height: 580,
height: 581,
left: 150,
top: 150,
type: 'popup',