mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 01:32:24 +03:00
Fix editor styling and initialisation
This commit is contained in:
parent
fa954eda8f
commit
1d3e8dbc17
|
@ -97,6 +97,6 @@
|
|||
// Render <GraphiQL /> into the body.
|
||||
ReactDOM.render(
|
||||
React.createElement(GraphiQL, options),
|
||||
document.getElementsByClassName("editor")[0]
|
||||
document.getElementById("editor")
|
||||
);
|
||||
})();
|
||||
|
|
|
@ -10,7 +10,7 @@ add "&raw" to the end of the URL within a browser.
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html, body {
|
||||
html, body, #editor {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
|
|
Loading…
Reference in New Issue
Block a user