mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-17 19:52:23 +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.
|
// Render <GraphiQL /> into the body.
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
React.createElement(GraphiQL, options),
|
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>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body, #editor {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user