Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: proper padding and margins
liyasthomasc3921bebf22e
diff --git a/assets/scss/styles.scss b/assets/scss/styles.scssindex 143964424..e9bec8e2a 100644--- a/assets/scss/styles.scss+++ b/assets/scss/styles.scss@@ -166,7 +166,8 @@ hr {@apply bg-primary;@apply truncate;@apply rounded;- @apply font-semibold;+ @apply text-xs;+ @apply font-semibold font-mono;@apply border border-divider;@apply transition;@apply focus:(outline-none border-accent);diff --git a/components/environments/index.vue b/components/environments/index.vueindex 117633b62..45fd0adee 100644--- a/components/environments/index.vue+++ b/components/environments/index.vue@@ -9,7 +9,7 @@bg-primaryLightborder-b border-dividerLightflex- font-medium+ font-semibold font-monow-fullpy-2px-4diff --git a/components/http/BodyParameters.vue b/components/http/BodyParameters.vueindex 91b9388d7..ec5bd3f74 100644--- a/components/http/BodyParameters.vue+++ b/components/http/BodyParameters.vue@@ -6,7 +6,7 @@border-b border-dividerLightflex flex-1pl-4- top-98px+ top-24z-10stickyitems-centerdiff --git a/components/http/Headers.vue b/components/http/Headers.vueindex 3e41678a0..6c84f3618 100644--- a/components/http/Headers.vue+++ b/components/http/Headers.vue@@ -6,7 +6,7 @@border-b border-dividerLightflex flex-1pl-4- top-98px+ top-24z-10stickyitems-centerdiff --git a/components/http/Parameters.vue b/components/http/Parameters.vueindex aae94ff1e..820ffd5fa 100644--- a/components/http/Parameters.vue+++ b/components/http/Parameters.vue@@ -6,7 +6,7 @@border-b border-dividerLightflex flex-1pl-4- top-98px+ top-24z-10stickyitems-centerdiff --git a/components/http/PreRequestScript.vue b/components/http/PreRequestScript.vueindex 0738e7636..f49cc4c98 100644--- a/components/http/PreRequestScript.vue+++ b/components/http/PreRequestScript.vue@@ -6,7 +6,7 @@border-b border-dividerLightflex flex-1pl-4- top-98px+ top-24z-10stickyitems-centerdiff --git a/components/http/RawBody.vue b/components/http/RawBody.vueindex 6a21a3c70..5a510ed41 100644--- a/components/http/RawBody.vue+++ b/components/http/RawBody.vue@@ -6,7 +6,7 @@border-b border-dividerLightflex flex-1pl-4- top-98px+ top-24z-10stickyitems-centerdiff --git a/components/http/Request.vue b/components/http/Request.vueindex 42560b528..95d488810 100644--- a/components/http/Request.vue+++ b/components/http/Request.vue@@ -20,8 +20,9 @@cursor-pointerflexfont-semibold font-mono+ h-8text-secondaryDark- py-2+ py-1px-4transitionw-28@@ -53,10 +54,11 @@class="bg-primaryLightborder border-divider+ flexfont-semibold font-mono+ flex-1text-secondaryDark- w-full- py-2+ py-1px-4transitiontruncate@@ -76,7 +78,6 @@class="rounded-none":label="!loading ? $t('send') : $t('cancel')":shortcut="[getSpecialKey(), 'G']"- outline@click.native="!loading ? newSendRequest() : cancelRequest()"/><span class="inline-flex">@@ -89,11 +90,7 @@arrow><template #trigger>- <ButtonPrimary- class="rounded-l-none"- icon="keyboard_arrow_down"- outline- />+ <ButtonPrimary class="rounded-l-none" icon="keyboard_arrow_down" /></template><SmartItem:label="$t('import_curl')"@@ -123,7 +120,7 @@</tippy></span><ButtonSecondary- class="rounded-r-none ml-2"+ class="rounded-r-none h-8 ml-2":label="$t('save')":shortcut="[getSpecialKey(), 'S']"outline@@ -142,7 +139,7 @@<ButtonSecondaryicon="keyboard_arrow_down"outline- class="rounded-l-none"+ class="rounded-l-none h-8"/></template><inputdiff --git a/components/http/Tests.vue b/components/http/Tests.vueindex cb4b89909..857b79d8c 100644--- a/components/http/Tests.vue+++ b/components/http/Tests.vue@@ -6,7 +6,7 @@border-b border-dividerLightflex flex-1pl-4- top-98px+ top-24z-10stickyitems-center@@ -43,7 +43,7 @@border-b border-dividerLightflex flex-1pl-4- top-98px+ top-24z-10stickyitems-centerdiff --git a/components/smart/Modal.vue b/components/smart/Modal.vueindex e02f5c52c..abb2c08b7 100644--- a/components/smart/Modal.vue+++ b/components/smart/Modal.vue@@ -3,7 +3,7 @@<divref="modal"class="- bg-primaryLight+ bg-primaryDarkflexh-fullw-fulldiff --git a/layouts/error.vue b/layouts/error.vueindex 2748f33fd..48e33bc57 100644--- a/layouts/error.vue+++ b/layouts/error.vue@@ -1,7 +1,7 @@<template><div class="page page-error"><h1 class="font-mono mb-4 text-4xl heading">{{ statusCode }}</h1>- <h3 class="font-mono text-xs">{{ message }}</h3>+ <h3 class="font-mono font-semibold text-xs">{{ message }}</h3><p class="mt-4"><ButtonSecondary to="/" icon="home" :label="$t('go_home')" /><ButtonSecondarydiff --git a/pages/index.vue b/pages/index.vueindex 3a6c05d2f..695b03d23 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -6,7 +6,7 @@<Splitpanes :dbl-click-splitter="false" horizontal><Pane class="hide-scrollbar !overflow-auto"><HttpRequest />- <SmartTabs styles="sticky top-66px z-10">+ <SmartTabs styles="sticky top-16 z-10"><SmartTab:id="'params'":label="$t('parameters')"