diff --git a/src/components/GraphiQL/GraphiQL.tsx b/src/components/GraphiQL/GraphiQL.tsx index ab40ed4e2..9b88255c5 100644 --- a/src/components/GraphiQL/GraphiQL.tsx +++ b/src/components/GraphiQL/GraphiQL.tsx @@ -220,7 +220,7 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) { return (
@@ -273,7 +273,7 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) { ) : null}
-
+
diff --git a/src/components/GraphiQL/styles.ts b/src/components/GraphiQL/styles.ts index c2e8cacc8..9ddc35480 100644 --- a/src/components/GraphiQL/styles.ts +++ b/src/components/GraphiQL/styles.ts @@ -11,6 +11,10 @@ export const useStyles = makeStyles( () => ({ pre: { whiteSpace: "break-spaces", + maxHeight: 450, + overflowY: "scroll", + marginBottom: 0, + marginTop: -26, }, main: { position: "relative", @@ -22,6 +26,18 @@ export const useStyles = makeStyles( overflowY: "scroll !important", }, }, + graphiqlSessions: { + margin: "0 !important", + marginRight: "var(--px-16) !important", + paddingTop: "var(--px-16)", + borderRadius: "0 !important", + }, + graphiqlEditors: { + borderRadius: "0 !important", + }, + graphiqlContainer: { + fontVariantLigatures: "none", + }, }), { name: "GraphiQL" }, );