From 1cc845e17d42081e898bfa62b13806f994dd5f2f Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 29 Nov 2023 22:45:40 +0530 Subject: [PATCH] fix: minor ui improvements (#3603) --- packages/hoppscotch-common/locales/en.json | 3 ++- .../src/components/graphql/Headers.vue | 4 ++-- .../src/components/graphql/Response.vue | 4 ++-- .../src/components/http/BodyParameters.vue | 6 ++--- .../src/components/http/Headers.vue | 23 +++++++++++-------- .../src/components/http/Parameters.vue | 4 ++-- .../src/components/http/URLEncodedParams.vue | 4 ++-- .../src/pages/realtime/websocket.vue | 4 ++-- .../src/components/smart/FileChip.vue | 12 +++++++--- 9 files changed, 37 insertions(+), 27 deletions(-) diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index 8fa7c3812..2f8a779fb 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -497,7 +497,8 @@ "enter_curl": "Enter cURL command", "generate_code": "Generate code", "generated_code": "Generated code", - "go_to_authorization_tab": "Go to Authorization", + "go_to_authorization_tab": "Go to Authorization tab", + "go_to_body_tab": "Go to Body tab", "header_list": "Header List", "invalid_name": "Please provide a name for the request", "method": "Method", diff --git a/packages/hoppscotch-common/src/components/graphql/Headers.vue b/packages/hoppscotch-common/src/components/graphql/Headers.vue index 92da574f3..8be85436e 100644 --- a/packages/hoppscotch-common/src/components/graphql/Headers.vue +++ b/packages/hoppscotch-common/src/components/graphql/Headers.vue @@ -69,9 +69,9 @@ : null, }" :icon="IconGripVertical" - class="cursor-auto text-primary hover:text-primary" + class="opacity-0" :class="{ - 'draggable-handle !cursor-grab group-hover:text-secondaryLight': + 'draggable-handle cursor-grab group-hover:opacity-100': index !== workingHeaders?.length - 1, }" tabindex="-1" diff --git a/packages/hoppscotch-common/src/components/graphql/Response.vue b/packages/hoppscotch-common/src/components/graphql/Response.vue index d830fd0b7..979503773 100644 --- a/packages/hoppscotch-common/src/components/graphql/Response.vue +++ b/packages/hoppscotch-common/src/components/graphql/Response.vue @@ -1,10 +1,10 @@