Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 33f495b

Browse files
committed
Make GraphiQL mobile friendlier
1 parent 2e27a73 commit 33f495b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/renderGraphiQL.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@ add "&raw" to the end of the URL within a browser.
5555
<meta charset="utf-8" />
5656
<title>GraphiQL</title>
5757
<meta name="robots" content="noindex" />
58-
<meta name="referrer" content="origin">
58+
<meta name="referrer" content="origin" />
59+
<meta name="viewport" content="width=device-width, initial-scale=1" />
5960
<style>
6061
body {
61-
height: 100%;
6262
margin: 0;
6363
overflow: hidden;
64-
width: 100%;
6564
}
6665
#graphiql {
6766
height: 100vh;

0 commit comments

Comments
 (0)