From 008eb6b77b180f7b9bcbcc778ba43afa2f85ecf8 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Tue, 22 Aug 2023 22:22:43 +0530 Subject: [PATCH] chore: minor ui improvements (#3274) --- .../src/components/app/PaneLayout.vue | 17 +++++++++----- .../src/components/app/ShortcutsPrompt.vue | 2 +- .../components/environments/my/Details.vue | 1 - .../src/components/environments/my/index.vue | 1 - .../components/environments/teams/Details.vue | 2 -- .../components/environments/teams/index.vue | 2 -- .../src/components/graphql/Authorization.vue | 1 - .../src/components/graphql/Headers.vue | 1 - .../src/components/http/Authorization.vue | 1 - .../src/components/http/Body.vue | 1 - .../src/components/http/BodyParameters.vue | 1 - .../src/components/http/Headers.vue | 1 - .../src/components/http/Parameters.vue | 1 - .../src/components/http/URLEncodedParams.vue | 1 - .../editor/extensions/HoppEnvironment.ts | 4 ++-- .../hoppscotch-common/src/pages/profile.vue | 1 - .../src/pages/realtime/socketio.vue | 1 - .../src/components/smart/Modal.vue | 20 ++++++++-------- .../src/components/smart/Placeholder.vue | 2 +- .../src/components/smart/SlideOver.vue | 23 ++++++++++++++----- 20 files changed, 42 insertions(+), 42 deletions(-) diff --git a/packages/hoppscotch-common/src/components/app/PaneLayout.vue b/packages/hoppscotch-common/src/components/app/PaneLayout.vue index 486a58cd6..837220f8f 100644 --- a/packages/hoppscotch-common/src/components/app/PaneLayout.vue +++ b/packages/hoppscotch-common/src/components/app/PaneLayout.vue @@ -18,13 +18,18 @@ :horizontal="COLUMN_LAYOUT" @resize="setPaneEvent($event, 'horizontal')" > - + @@ -33,7 +38,7 @@ @@ -78,10 +83,10 @@ type PaneEvent = { size: number } -const PANE_MAIN_SIZE = ref(74) -const PANE_SIDEBAR_SIZE = ref(26) -const PANE_MAIN_TOP_SIZE = ref(42) -const PANE_MAIN_BOTTOM_SIZE = ref(58) +const PANE_MAIN_SIZE = ref(70) +const PANE_SIDEBAR_SIZE = ref(30) +const PANE_MAIN_TOP_SIZE = ref(35) +const PANE_MAIN_BOTTOM_SIZE = ref(65) if (!COLUMN_LAYOUT.value) { PANE_MAIN_TOP_SIZE.value = 50 diff --git a/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vue b/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vue index 001b4b98d..5a5fb602e 100644 --- a/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vue +++ b/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vue @@ -1,6 +1,6 @@