chore(ui): improve ui consistency

This commit is contained in:
liyasthomas
2021-12-24 08:12:35 +05:30
parent 1eb9eb911e
commit 10cb433e80
17 changed files with 90 additions and 48 deletions

View File

@@ -29,6 +29,7 @@
? 'radio_button_checked'
: 'radio_button_unchecked'
"
:active="authName === 'None'"
@click.native="
() => {
authType = 'none'
@@ -43,6 +44,7 @@
? 'radio_button_checked'
: 'radio_button_unchecked'
"
:active="authName === 'Basic Auth'"
@click.native="
() => {
authType = 'basic'
@@ -57,6 +59,7 @@
? 'radio_button_checked'
: 'radio_button_unchecked'
"
:active="authName === 'Bearer'"
@click.native="
() => {
authType = 'bearer'
@@ -71,6 +74,7 @@
? 'radio_button_checked'
: 'radio_button_unchecked'
"
:active="authName === 'OAuth 2.0'"
@click.native="
() => {
authType = 'oauth-2'
@@ -85,6 +89,7 @@
? 'radio_button_checked'
: 'radio_button_unchecked'
"
:active="authName === 'API key'"
@click.native="
() => {
authType = 'api-key'
@@ -223,6 +228,7 @@
? 'radio_button_checked'
: 'radio_button_unchecked'
"
:active="addTo === 'Headers'"
:label="'Headers'"
@click.native="
() => {
@@ -237,6 +243,7 @@
? 'radio_button_checked'
: 'radio_button_unchecked'
"
:active="addTo === 'Query params'"
:label="'Query params'"
@click.native="
() => {

View File

@@ -69,11 +69,11 @@
{{ t("error.network_fail") }}
</span>
<span
class="max-w-sm text-secondaryLight text-center mb-4 whitespace-normal"
class="max-w-sm text-secondaryLight text-center mb-6 whitespace-normal"
>
{{ t("helpers.network_fail") }}
</span>
<AppInterceptor />
<AppInterceptor class="border border-dividerLight rounded" />
</div>
<div
v-if="response.type === 'script_fail'"
@@ -89,7 +89,7 @@
{{ t("error.script_fail") }}
</span>
<span
class="max-w-sm text-secondaryLight text-center mb-4 whitespace-normal"
class="max-w-sm text-secondaryLight text-center mb-6 whitespace-normal"
>
{{ t("helpers.script_fail") }}
</span>