Skip to content

Commit

Permalink
Merge pull request #83 from graphql/standalone-css
Browse files Browse the repository at this point in the history
separate out html/body styles to example app
  • Loading branch information
asiandrummer committed Jan 27, 2016
2 parents af0afe8 + d6ef344 commit 8874154
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 2 additions & 5 deletions css/app.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
html, body {
#graphiql-container {
height: 100%;
margin: 0;
overflow: hidden;
width: 100%;
}

#graphiql-container {
overflow: hidden;
color: #141823;
width: 100%;
display: -webkit-flex;
Expand Down
8 changes: 8 additions & 0 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
<!DOCTYPE html>
<html>
<head>
<style>
html, body {
height: 100%;
margin: 0;
width: 100%;
overflow: hidden;
}
</style>
<link rel="stylesheet" href="./graphiql.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react-dom.min.js"></script>
Expand Down

0 comments on commit 8874154

Please sign in to comment.