From edba562a99d5cf949263e405f9099f66f8cd6085 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sat, 23 Nov 2019 10:31:53 +0530 Subject: [PATCH] :sparkles: Added download & expand button for GraphQL schema response --- assets/css/styles.scss | 7 ++-- pages/graphql.vue | 80 ++++++++++++++++++++++++++++++++++++++---- pages/index.vue | 22 ++++++------ 3 files changed, 87 insertions(+), 22 deletions(-) diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 7e9f05752..01ce5027a 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -10,9 +10,9 @@ html { } ::-webkit-scrollbar { - width: 8px; - height: 8px; - border-radius: 8px; + width: 4px; + height: 4px; + border-radius: 4px; background-color: var(--bg-dark-color); visibility: hidden; @@ -24,7 +24,6 @@ html { ::-webkit-scrollbar-thumb { background-color: var(--fg-light-color); border-radius: 8px; - border: 2px solid var(--bg-color); &:hover { background-color: var(--fg-color); diff --git a/pages/graphql.vue b/pages/graphql.vue index 98f4ea753..6e8bea3e2 100644 --- a/pages/graphql.vue +++ b/pages/graphql.vue @@ -26,11 +26,45 @@ +
+ +
+ + + +
+
-