fix: proper padding and margins
This commit is contained in:
@@ -166,7 +166,8 @@ hr {
|
|||||||
@apply bg-primary;
|
@apply bg-primary;
|
||||||
@apply truncate;
|
@apply truncate;
|
||||||
@apply rounded;
|
@apply rounded;
|
||||||
@apply font-semibold;
|
@apply text-xs;
|
||||||
|
@apply font-semibold font-mono;
|
||||||
@apply border border-divider;
|
@apply border border-divider;
|
||||||
@apply transition;
|
@apply transition;
|
||||||
@apply focus:(outline-none border-accent);
|
@apply focus:(outline-none border-accent);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
bg-primaryLight
|
bg-primaryLight
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex
|
flex
|
||||||
font-medium
|
font-semibold font-mono
|
||||||
w-full
|
w-full
|
||||||
py-2
|
py-2
|
||||||
px-4
|
px-4
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-98px
|
top-24
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-98px
|
top-24
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-98px
|
top-24
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-98px
|
top-24
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-98px
|
top-24
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -20,8 +20,9 @@
|
|||||||
cursor-pointer
|
cursor-pointer
|
||||||
flex
|
flex
|
||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
|
h-8
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
py-2
|
py-1
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
w-28
|
w-28
|
||||||
@@ -53,10 +54,11 @@
|
|||||||
class="
|
class="
|
||||||
bg-primaryLight
|
bg-primaryLight
|
||||||
border border-divider
|
border border-divider
|
||||||
|
flex
|
||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
|
flex-1
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
w-full
|
py-1
|
||||||
py-2
|
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
@@ -76,7 +78,6 @@
|
|||||||
class="rounded-none"
|
class="rounded-none"
|
||||||
:label="!loading ? $t('send') : $t('cancel')"
|
:label="!loading ? $t('send') : $t('cancel')"
|
||||||
:shortcut="[getSpecialKey(), 'G']"
|
:shortcut="[getSpecialKey(), 'G']"
|
||||||
outline
|
|
||||||
@click.native="!loading ? newSendRequest() : cancelRequest()"
|
@click.native="!loading ? newSendRequest() : cancelRequest()"
|
||||||
/>
|
/>
|
||||||
<span class="inline-flex">
|
<span class="inline-flex">
|
||||||
@@ -89,11 +90,7 @@
|
|||||||
arrow
|
arrow
|
||||||
>
|
>
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<ButtonPrimary
|
<ButtonPrimary class="rounded-l-none" icon="keyboard_arrow_down" />
|
||||||
class="rounded-l-none"
|
|
||||||
icon="keyboard_arrow_down"
|
|
||||||
outline
|
|
||||||
/>
|
|
||||||
</template>
|
</template>
|
||||||
<SmartItem
|
<SmartItem
|
||||||
:label="$t('import_curl')"
|
:label="$t('import_curl')"
|
||||||
@@ -123,7 +120,7 @@
|
|||||||
</tippy>
|
</tippy>
|
||||||
</span>
|
</span>
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
class="rounded-r-none ml-2"
|
class="rounded-r-none h-8 ml-2"
|
||||||
:label="$t('save')"
|
:label="$t('save')"
|
||||||
:shortcut="[getSpecialKey(), 'S']"
|
:shortcut="[getSpecialKey(), 'S']"
|
||||||
outline
|
outline
|
||||||
@@ -142,7 +139,7 @@
|
|||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
icon="keyboard_arrow_down"
|
icon="keyboard_arrow_down"
|
||||||
outline
|
outline
|
||||||
class="rounded-l-none"
|
class="rounded-l-none h-8"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-98px
|
top-24
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-98px
|
top-24
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div
|
<div
|
||||||
ref="modal"
|
ref="modal"
|
||||||
class="
|
class="
|
||||||
bg-primaryLight
|
bg-primaryDark
|
||||||
flex
|
flex
|
||||||
h-full
|
h-full
|
||||||
w-full
|
w-full
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="page page-error">
|
<div class="page page-error">
|
||||||
<h1 class="font-mono mb-4 text-4xl heading">{{ statusCode }}</h1>
|
<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">
|
<p class="mt-4">
|
||||||
<ButtonSecondary to="/" icon="home" :label="$t('go_home')" />
|
<ButtonSecondary to="/" icon="home" :label="$t('go_home')" />
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<Splitpanes :dbl-click-splitter="false" horizontal>
|
<Splitpanes :dbl-click-splitter="false" horizontal>
|
||||||
<Pane class="hide-scrollbar !overflow-auto">
|
<Pane class="hide-scrollbar !overflow-auto">
|
||||||
<HttpRequest />
|
<HttpRequest />
|
||||||
<SmartTabs styles="sticky top-66px z-10">
|
<SmartTabs styles="sticky top-16 z-10">
|
||||||
<SmartTab
|
<SmartTab
|
||||||
:id="'params'"
|
:id="'params'"
|
||||||
:label="$t('parameters')"
|
:label="$t('parameters')"
|
||||||
|
|||||||
Reference in New Issue
Block a user