Skip to content

Commit 9fb93b5

Browse files
authored
Add graphiql-explorer.(#971)
1 parent 2c2c6be commit 9fb93b5

8 files changed

Lines changed: 7496 additions & 24 deletions

File tree

assets/explorer/dist/bundle.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/explorer/dist/container.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#graphql-explorer {
22
position: relative;
33
height: 650px;
4-
}
4+
}

assets/explorer/dist/graphiql.css

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
-webkit-box-direction: normal;
225225
-ms-flex-direction: column;
226226
flex-direction: column;
227-
height: 29px;
227+
height: 30px;
228228
position: relative;
229229
}
230230

@@ -1402,12 +1402,19 @@ span.CodeMirror-selectedtext { background: none; }
14021402
.CodeMirror-foldgutter-folded:after {
14031403
content: "\25B8";
14041404
}
1405-
.graphiql-container .history-contents {
1405+
.graphiql-container .history-contents,
1406+
.graphiql-container .history-contents input {
14061407
font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;
14071408
padding: 0;
14081409
}
14091410

14101411
.graphiql-container .history-contents p {
1412+
-webkit-box-align: center;
1413+
-ms-flex-align: center;
1414+
align-items: center;
1415+
display: -webkit-box;
1416+
display: -ms-flexbox;
1417+
display: flex;
14111418
font-size: 12px;
14121419
overflow: hidden;
14131420
text-overflow: ellipsis;
@@ -1417,10 +1424,29 @@ span.CodeMirror-selectedtext { background: none; }
14171424
border-bottom: 1px solid #e0e0e0;
14181425
}
14191426

1427+
.graphiql-container .history-contents p.editable {
1428+
padding-bottom: 6px;
1429+
padding-top: 7px;
1430+
}
1431+
1432+
.graphiql-container .history-contents input {
1433+
-webkit-box-flex: 1;
1434+
-ms-flex-positive: 1;
1435+
flex-grow: 1;
1436+
font-size: 12px;
1437+
}
1438+
14201439
.graphiql-container .history-contents p:hover {
14211440
cursor: pointer;
14221441
}
1423-
.CodeMirror-info {
1442+
1443+
.graphiql-container .history-contents p span.history-label {
1444+
-webkit-box-flex: 1;
1445+
-ms-flex-positive: 1;
1446+
flex-grow: 1;
1447+
overflow: hidden;
1448+
text-overflow: ellipsis;
1449+
}.CodeMirror-info {
14241450
background: white;
14251451
border-radius: 2px;
14261452
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);

0 commit comments

Comments
 (0)