Skip to content

Commit

Permalink
Graphql: Add missing css for index
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrze committed Oct 10, 2023
1 parent 02964bb commit 8f771cb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gui/graphql/public/main.css

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions gui/graphql/src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
body {
height: 100%;
margin: 0;
width: 100%;
overflow: hidden;
}

#graphiql {
height: calc(100vh - 1.5rem);
}

#status-bar {
background-color: #f7f7f7;
font-family: monospace;
padding: .25rem 1rem;
font-size: 1rem;
}

.docExplorerWrap {
max-width: 450px;
}
1 change: 1 addition & 0 deletions gui/graphql/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useEffect, useState } from "react";
import { createRoot } from 'react-dom/client';
import React from "react";
import "graphiql/graphiql.css";
import './index.css'
// import { explorerPlugin } from '@graphiql/plugin-explorer';
// import '@graphiql/plugin-explorer/dist/style.css';

Expand Down

0 comments on commit 8f771cb

Please sign in to comment.