Add a dedicated notification index (#542)
* back to 600px * add dedicated notification index Co-authored-by: Github Actions <action@github.com>
This commit is contained in:
co-authored by
Github Actions
parent
25ee668b17
commit
0731e3593d
@@ -63,7 +63,7 @@ const WINDOW_OPTS = {
|
||||
left: 150,
|
||||
top: 150,
|
||||
type: 'popup',
|
||||
url: chrome.extension.getURL('index.html'),
|
||||
url: chrome.extension.getURL('notification.html'),
|
||||
width: 560
|
||||
};
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>polkadot{.js}</title>
|
||||
<link href="fonts/fonts.css" rel="stylesheet">
|
||||
</head>
|
||||
<body style="min-height: 600px; height: 100%; margin:0; overflow-x:hidden; text-align:center">
|
||||
<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>
|
||||
<script src='./extension.js'></script>
|
||||
</body>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-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>
|
||||
<script src='./extension.js'></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user