From 5afed8dd54ebf09517241259e4372683c9889ea0 Mon Sep 17 00:00:00 2001 From: Vikram Rangnekar Date: Sun, 14 Apr 2019 18:54:59 -0400 Subject: [PATCH] Fix issue with web ui sizing --- web/src/App.js | 26 ++++++++++++++++++-------- web/src/index.css | 5 +++++ web/yarn.lock | 24 ++---------------------- 3 files changed, 25 insertions(+), 30 deletions(-) diff --git a/web/src/App.js b/web/src/App.js index ca2eeb0..3ba9147 100755 --- a/web/src/App.js +++ b/web/src/App.js @@ -12,21 +12,31 @@ class App extends Component { background: '#4d2692', color: '#f1e9ff', letterSpacing: '0.15rem', - textTransform: 'uppercase' + height: '65px', + display: 'flex', + alignItems: 'center' }} > -
-

- Super Graph

-
+ + Super Graph + + + Instant GraphQL + diff --git a/web/src/index.css b/web/src/index.css index cee5f34..2445d4f 100755 --- a/web/src/index.css +++ b/web/src/index.css @@ -6,9 +6,14 @@ body { sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + background-color: #0f202d; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; } + +.playground > div:nth-child(2) { + height: calc(100vh - 131px); +} diff --git a/web/yarn.lock b/web/yarn.lock index f40e553..71f382b 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -2463,15 +2463,7 @@ code-point-at@^1.0.0: resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= -codemirror-graphql@^0.6.11: - version "0.6.12" - resolved "https://registry.yarnpkg.com/codemirror-graphql/-/codemirror-graphql-0.6.12.tgz#91a273fe5188857524a30221d06e645b4ca41f00" - integrity sha512-7YP956JubbWkmk9QqKy62CZgdGbEulHNJkz2/aUDTpsE1KrQtRrT9WzStJaxAOEX2k4wUOpojUX2ItPxa69kFA== - dependencies: - graphql-language-service-interface "^1.0.16" - graphql-language-service-parser "^0.1.14" - -codemirror-graphql@timsuchanek/codemirror-graphql#details-fix: +codemirror-graphql@^0.6.11, codemirror-graphql@timsuchanek/codemirror-graphql#details-fix: version "0.6.12" resolved "https://codeload.github.com/timsuchanek/codemirror-graphql/tar.gz/801ec32683c38d6dc0f8f7bc19014a111edc9ebd" dependencies: @@ -4512,7 +4504,7 @@ graphql-import@^0.4.4: dependencies: lodash "^4.17.4" -graphql-language-service-interface@^1.0.16, graphql-language-service-interface@^1.0.18: +graphql-language-service-interface@^1.0.18: version "1.3.2" resolved "https://registry.yarnpkg.com/graphql-language-service-interface/-/graphql-language-service-interface-1.3.2.tgz#4bd5d49e23766c3d2ab65d110f26f10e321cc000" integrity sha512-sOxFV5sBSnYtKIFHtlmAHHVdhok7CRbvCPLcuHvL4Q1RSgKRsPpeHUDKU+yCbmlonOKn/RWEKaYWrUY0Sgv70A== @@ -4522,13 +4514,6 @@ graphql-language-service-interface@^1.0.16, graphql-language-service-interface@^ graphql-language-service-types "^1.2.2" graphql-language-service-utils "^1.2.2" -graphql-language-service-parser@^0.1.14: - version "0.1.14" - resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-0.1.14.tgz#dd25abda5dcff4f2268c9a19e026004271491661" - integrity sha512-72M4OksONeqT5slfdfODmlPBFlUQQkcnRhjgmPt9H2n8/DUcf4XzDkGXudBWpzNfjVU35+IADYW6x13wKw/fOg== - dependencies: - graphql-language-service-types "^0.1.14" - graphql-language-service-parser@^1.0.18, graphql-language-service-parser@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-1.2.2.tgz#010c8a5fdfae4726c8e15714137eee822753d3ea" @@ -4537,11 +4522,6 @@ graphql-language-service-parser@^1.0.18, graphql-language-service-parser@^1.2.2: graphql-config "2.0.1" graphql-language-service-types "^1.2.2" -graphql-language-service-types@^0.1.14: - version "0.1.14" - resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-0.1.14.tgz#e6112785fc23ea8222f59a7f00e61b359f263c88" - integrity sha512-77KP83gvK0gWswvGY/+jx/GpsOfKuwWQ1AYnyPT2GDGG3//1QxQTObaZMAEevNTxJtO8T26YXxoUlqkvET7iEg== - graphql-language-service-types@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-1.2.2.tgz#078e0abc7936a593968c946a039502af136a9743"