|
1 | 1 | .docExplorerWrap {
|
2 |
| - height: unset !important; |
3 |
| - min-width: unset !important; |
| 2 | + height: 100% !important; |
| 3 | + min-width: auto !important; |
4 | 4 | width: unset !important;
|
5 | 5 | }
|
6 | 6 |
|
|
17 | 17 | font-family: var(--font-family-mono) !important;
|
18 | 18 | font-size: var(--font-size-body) !important;
|
19 | 19 | padding: 0 !important;
|
| 20 | + flex: 1; |
20 | 21 | }
|
21 | 22 |
|
22 | 23 | .graphiql-explorer-root > div:first-child {
|
23 | 24 | padding-left: var(--px-8);
|
24 |
| - overflow: hidden !important; |
| 25 | + overflow: auto !important; |
| 26 | + scrollbar-color: #88888888 transparent; |
| 27 | +} |
| 28 | + |
| 29 | +/* Safari scrollbars */ |
| 30 | +.graphiql-explorer-root>div:first-child::-webkit-scrollbar-track, |
| 31 | +.graphiql-explorer-root>div:first-child::-webkit-scrollbar, |
| 32 | +.graphiql-explorer-root>div:first-child::-webkit-scrollbar-corner{ |
| 33 | + background-color: transparent; |
| 34 | +} |
| 35 | + |
| 36 | +.graphiql-explorer-root>div:first-child::-webkit-scrollbar-thumb { |
| 37 | + border-radius: 99px; |
| 38 | + padding: 3px; |
| 39 | + box-shadow: inset 0 0 99px 99px #88888888; |
| 40 | + border: solid 3px transparent; |
25 | 41 | }
|
26 | 42 |
|
27 | 43 | .graphiql-explorer-root input {
|
28 | 44 | background: hsl(var(--color-base));
|
| 45 | + padding: 1px 0; |
| 46 | + font-family: inherit; |
29 | 47 | }
|
30 | 48 |
|
31 | 49 | .graphiql-explorer-root select {
|
32 |
| - background-color: hsl(var(--color-base)); |
| 50 | + background-color: hsl(var(--color-base)) !important; |
33 | 51 | border: 1px solid hsla(var(--color-neutral), var(--alpha-secondary));
|
34 | 52 | border-radius: var(--border-radius-4);
|
35 | 53 | color: hsl(var(--color-neutral));
|
36 | 54 | margin: 0 var(--px-4);
|
37 | 55 | padding: var(--px-4) var(--px-6);
|
38 | 56 | }
|
| 57 | + |
| 58 | +.doc-explorer-contents { |
| 59 | + flex:1; |
| 60 | + display: flex; |
| 61 | + flex-direction: column; |
| 62 | + overflow: auto !important; |
| 63 | +} |
| 64 | + |
| 65 | +.doc-explorer-title-bar { |
| 66 | + flex: 0; |
| 67 | +} |
| 68 | + |
| 69 | +.graphiql-explorer-root > div:last-child { |
| 70 | + min-height: auto !important; |
| 71 | + max-height: auto !important; |
| 72 | + flex: 0; |
| 73 | +} |
| 74 | + |
| 75 | +.graphiql-explorer-root .graphiql-operation-title-bar button { |
| 76 | + padding: 1px 6px; |
| 77 | +} |
| 78 | + |
| 79 | +.graphiql-explorer-root .graphiql-explorer-node button { |
| 80 | + padding: 1px 6px; |
| 81 | +} |
0 commit comments