Skip to content

Commit 50976b5

Browse files
committed
styling
1 parent 3523f9d commit 50976b5

File tree

15 files changed

+37
-74
lines changed

15 files changed

+37
-74
lines changed
656 KB
Loading

build/webpack-bundle.js

Lines changed: 0 additions & 38 deletions
Large diffs are not rendered by default.

build/webpack-bundle.js.map

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

public/app.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ h2{
8181

8282
#app-container{
8383
display: flex;
84-
padding: 10px 25px;
84+
padding: 10px;
8585
max-height: 95%;
8686
}
8787

@@ -94,7 +94,7 @@ h2{
9494
padding: 10px;
9595
display: grid;
9696
grid-template-rows: 1fr 3fr;
97-
grid-template-columns: 1fr 3fr;
97+
grid-template-columns: 3fr 7fr;
9898
grid-template-areas:
9999
'sp-box tree'
100100
'diff tree';
@@ -113,7 +113,6 @@ h2{
113113

114114

115115
#treeWrapper{
116-
text-align: center;
117116
grid-area: tree;
118117
height: 700px;
119118
padding: 10px;
@@ -122,6 +121,9 @@ h2{
122121
font-size: .9em;
123122
letter-spacing: 1.5px;
124123
}
124+
#treeButtons{
125+
text-align: center;
126+
}
125127

126128
.rd3t-tree-container{
127129
margin-top: 15px;
@@ -187,7 +189,6 @@ button:focus{
187189
}
188190
button:hover{
189191
background-color: #555;
190-
border: none;
191192
color: white;
192193
}
193194
.active{

public/graphql.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
}
1515

1616
#graphql-res {
17-
background-color: rgba(214, 214, 214, 0.4);
18-
border: 1px solid rgba(0, 0, 0, 0.3);
19-
border-radius: 5px;
20-
padding: 10px;
17+
background-color: white;;
18+
box-shadow: 0 15px 30px 0 rgba(0,0,0,0.11),
19+
0 5px 15px 0 rgba(0,0,0,0.08);
20+
padding: 10px 25px;
2121
margin-bottom: 10px;
2222
}
2323

@@ -27,10 +27,6 @@
2727
padding: 10px;
2828
}
2929

30-
.graphql {
31-
padding: 5px;
32-
}
33-
3430
.graphql-p {
3531
margin-top: 10px;
3632
}

public/log-container.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#log-container{
22
padding: 10px;
3-
width: 250px;
3+
/* width: 250px; */
44
max-height: 700px;
55
height: 700px;
66
}

public/stateContainer.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
max-height: 500px;
44
overflow-y: scroll;
55
padding: 10px;
6-
margin-top: 10px;
7-
margin-right: 10px;
86
}
97

108
#state-header{

src/components/GraphQLResponse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const GraphQLResponse = ({ logs, log }) => {
1010
{logs.length !== 0
1111
?
1212
<div className="graphql">
13-
<p className='graphql-p'><b>Response:</b></p>
13+
<p className='graphql-p'><h2>Response:</h2></p>
1414
<span className='graphql-span'>
1515
<ReactJson
1616
src={response}

src/components/GraphQLSchema.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const GraphQLSchema = ({ schema }) => {
1111

1212
return (
1313
<div id='graphql-schema'>
14-
<div className='graphql'>
15-
<p className='graphql-p'><b>Schema:</b></p>
14+
<div>
15+
<p className='graphql-p'><h2>Schema:</h2></p>
1616
<span className='graphql-span'>
1717
<GraphqlCodeBlock
1818
className='GraphqlCodeBlock'
@@ -27,7 +27,7 @@ const GraphQLSchema = ({ schema }) => {
2727

2828
return (
2929
<div id='graphql'>
30-
<div className='graphql'>
30+
<div>
3131
<p className='graphql-p'>
3232
No GraphQL data available.
3333
</p>

src/components/Log/Log.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const Log = props => {
1010
</p>
1111
<p className='log-p'>
1212
<b>Operation Name:</b> {props.operationName}
13+
{/* {props.operationName !== null ? (<b>Operation Name:</b>props.operationName) : null} */}
1314
</p>
1415
<p className='log-p'>
1516
<b>Query:</b>

0 commit comments

Comments
 (0)