From bb6d9a88ec1daf175248f43eb0ab8933e2c20dc9 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sat, 14 Aug 2021 23:46:03 +0530 Subject: [PATCH] refactor: minoe fixes and improvements --- assets/scss/styles.scss | 18 +----------------- components/collections/graphql/index.vue | 1 - components/environments/index.vue | 1 - components/graphql/RequestOptions.vue | 2 ++ components/graphql/Response.vue | 1 + components/graphql/Sidebar.vue | 1 + components/http/CodegenModal.vue | 2 +- components/http/RawBody.vue | 1 + .../lenses/renderers/HTMLLensRenderer.vue | 15 ++++++++++++++- .../lenses/renderers/ImageLensRenderer.vue | 13 ++++++++++--- .../lenses/renderers/JSONLensRenderer.vue | 9 +++++++-- .../lenses/renderers/RawLensRenderer.vue | 10 ++++++++-- .../lenses/renderers/XMLLensRenderer.vue | 9 +++++++-- components/smart/AutoComplete.vue | 1 + components/smart/DeletableChip.vue | 2 +- components/smart/Item.vue | 4 ++-- layouts/default.vue | 2 +- newstore/RESTSession.ts | 10 ++++++++-- pages/documentation.vue | 1 + pages/index.vue | 2 +- 20 files changed, 68 insertions(+), 37 deletions(-) diff --git a/assets/scss/styles.scss b/assets/scss/styles.scss index 684926bc8..5a6fbd400 100644 --- a/assets/scss/styles.scss +++ b/assets/scss/styles.scss @@ -152,6 +152,7 @@ a { [interactive] > div { @apply flex; @apply flex-1; + @apply h-full; } .tippy-content > div { @@ -338,23 +339,6 @@ input[type="checkbox"] { @apply text-secondaryLight; } -#response-details-wrapper { - @apply relative; - - textarea { - @apply m-0; - @apply w-full; - } - - .covers-response { - @apply absolute; - @apply inset-0; - @apply bg-white; - @apply h-full; - @apply w-full; - } -} - .toasted-container { .toasted { &.toasted-primary { diff --git a/components/collections/graphql/index.vue b/components/collections/graphql/index.vue index 3ed312ee5..41120c887 100644 --- a/components/collections/graphql/index.vue +++ b/components/collections/graphql/index.vue @@ -73,7 +73,6 @@ v-if="collections.length === 0" class="flex flex-col text-secondaryLight p-4 items-center justify-center" > - create_new_folder {{ $t("empty.collections") }} diff --git a/components/environments/index.vue b/components/environments/index.vue index 476476f24..62a0ff7fd 100644 --- a/components/environments/index.vue +++ b/components/environments/index.vue @@ -80,7 +80,6 @@ v-if="environments.length === 0" class="flex flex-col text-secondaryLight p-4 items-center justify-center" > - library_add {{ $t("empty.environments") }} diff --git a/components/graphql/RequestOptions.vue b/components/graphql/RequestOptions.vue index f0bfdd078..f1f3c55aa 100644 --- a/components/graphql/RequestOptions.vue +++ b/components/graphql/RequestOptions.vue @@ -62,6 +62,7 @@ showPrintMargin: false, useWorker: false, }" + styles="border-b border-dividerLight" @update-query="updateQuery" /> @@ -105,6 +106,7 @@ showPrintMargin: false, useWorker: false, }" + styles="border-b border-dividerLight" /> diff --git a/components/graphql/Response.vue b/components/graphql/Response.vue index 62c46d1f6..ff9afa03b 100644 --- a/components/graphql/Response.vue +++ b/components/graphql/Response.vue @@ -47,6 +47,7 @@ showPrintMargin: false, useWorker: false, }" + styles="border-b border-dividerLight" />
diff --git a/components/http/RawBody.vue b/components/http/RawBody.vue index 567bcfd35..5aec1c59e 100644 --- a/components/http/RawBody.vue +++ b/components/http/RawBody.vue @@ -66,6 +66,7 @@ showPrintMargin: false, useWorker: false, }" + styles="border-b border-dividerLight" />
diff --git a/components/lenses/renderers/HTMLLensRenderer.vue b/components/lenses/renderers/HTMLLensRenderer.vue index 872556ecd..fe7d1cdb8 100644 --- a/components/lenses/renderers/HTMLLensRenderer.vue +++ b/components/lenses/renderers/HTMLLensRenderer.vue @@ -42,7 +42,7 @@ /> -
+