Add style inside tag (not inline) (#684)

This commit is contained in:
Jaco Greeff
2021-03-22 22:34:50 +01:00
committed by GitHub
parent 238acd2702
commit c102c2bc63
+20 -2
View File
@@ -4,9 +4,27 @@
<meta charset="utf-8">
<title>polkadot{.js}</title>
<link href="fonts/fonts.css" rel="stylesheet">
<style type="text/css">
body {
height: 600px;
margin: 0;
overflow-x: hidden;
text-align: center;
}
div#root {
box-sizing: border-box;
height: calc(100vh - 2px);
margin: 0 auto;
max-width: 100%;
padding: 0;
text-align: left;
width: 560px;
}
</style>
</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(100vh - 2px); max-width: 100%;"></div>
<body>
<div id="root"></div>
<script src='./extension.js'></script>
</body>
</html>