Hack to hide scrollbars on popups (#86)
* hack to hide scrollbars * overflow-x hidden
This commit is contained in:
parent
be53fd3b40
commit
2cdb8332cc
@ -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>
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user