refactor(ui): better rendering with Inter font

This commit is contained in:
liyasthomas
2021-07-26 01:33:32 +05:30
parent 397cab9032
commit 8debb65d89
86 changed files with 434 additions and 485 deletions

View File

@@ -6,19 +6,41 @@
class="flex items-center"
>
<span
class="flex font-semibold text-xs min-w-0 p-2 transition group-hover:text-secondaryDark"
class="
flex
font-semibold
min-w-0
p-2
transition
group-hover:text-secondaryDark
"
>
<span class="truncate">
{{ header.key }}
</span>
</span>
<span
class="flex font-mono font-bold mx-2 text-xs justify-center items-center truncate"
class="
flex
font-mono font-bold
mx-2
justify-center
items-center
truncate
"
>
</span>
<span
class="flex font-semibold flex-1 text-xs min-w-0 p-2 transition group-hover:text-secondaryDark"
class="
flex
font-semibold
flex-1
min-w-0
p-2
transition
group-hover:text-secondaryDark
"
>
<span class="truncate">
{{ header.value }}

View File

@@ -1,5 +1,5 @@
<template>
<SmartTabs styles="sticky z-10 top-13">
<SmartTabs styles="sticky z-10 top-12">
<SmartTab
v-for="(lens, index) in validLenses"
:id="lens.lensName"

View File

@@ -5,14 +5,14 @@
bg-primary
border-b border-dividerLight
flex flex-1
top-23
top-20
z-10
sticky
items-center
justify-between
"
>
<label for="body" class="font-semibold text-xs px-4">
<label for="body" class="font-semibold px-4">
{{ $t("response_body") }}
</label>
<div>
@@ -48,7 +48,7 @@
:options="{
maxLines: Infinity,
minLines: '16',
fontSize: '14px',
fontSize: '12px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -5,14 +5,14 @@
bg-primary
border-b border-dividerLight
flex flex-1
top-23
top-20
z-10
sticky
items-center
justify-between
"
>
<label for="body" class="font-semibold text-xs px-4">
<label for="body" class="font-semibold px-4">
{{ $t("response_body") }}
</label>
<div>

View File

@@ -5,14 +5,14 @@
bg-primary
border-b border-dividerLight
flex flex-1
top-23
top-20
z-10
sticky
items-center
justify-between
"
>
<label for="body" class="font-semibold text-xs px-4">
<label for="body" class="font-semibold px-4">
{{ $t("response_body") }}
</label>
<div>
@@ -42,7 +42,7 @@
:options="{
maxLines: Infinity,
minLines: '16',
fontSize: '14px',
fontSize: '12px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -5,14 +5,14 @@
bg-primary
border-b border-dividerLight
flex flex-1
top-23
top-20
z-10
sticky
items-center
justify-between
"
>
<label for="body" class="font-semibold text-xs px-4">
<label for="body" class="font-semibold px-4">
{{ $t("response_body") }}
</label>
<div>
@@ -41,7 +41,7 @@
:options="{
maxLines: Infinity,
minLines: '16',
fontSize: '14px',
fontSize: '12px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -5,14 +5,14 @@
bg-primary
border-b border-dividerLight
flex flex-1
top-23
top-20
z-10
sticky
items-center
justify-between
"
>
<label for="body" class="font-semibold text-xs px-4">
<label for="body" class="font-semibold px-4">
{{ $t("response_body") }}
</label>
<div>
@@ -41,7 +41,7 @@
:options="{
maxLines: Infinity,
minLines: '16',
fontSize: '14px',
fontSize: '12px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,