Commit cff996cd authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: make editor really full page

using the solution from https://stackoverflow.com/a/45753938

and also a rule to disable body margin from user agent stylesheet, in
chrome there's a 8px margin.
parent a437b0cc
......@@ -24,7 +24,7 @@
<script src="monaco-editor.gadget.js"></script>
</head>
<body>
<div class="monaco-container" style="width:100%;height:800px;border:1px solid grey;"></div>
<body style="margin: 0;">
<div class="monaco-container" style="width:100vw;height:calc(100vh - 30px);border:1px solid grey;"></div>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment