refactor(ui): minor font tweaks
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<div
|
||||
v-if="gqlField.description"
|
||||
class="mt-2 text-secondaryLight field-desc"
|
||||
class="py-2 text-sm text-secondaryLight field-desc"
|
||||
>
|
||||
{{ gqlField.description }}
|
||||
</div>
|
||||
@@ -53,7 +53,7 @@
|
||||
/>
|
||||
<div
|
||||
v-if="field.description"
|
||||
class="mt-2 text-secondaryLight field-desc"
|
||||
class="py-2 text-sm text-secondaryLight field-desc"
|
||||
>
|
||||
{{ field.description }}
|
||||
</div>
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
class="font-bold type-title"
|
||||
:class="{ 'type-highlighted': isHighlighted }"
|
||||
>
|
||||
<span v-if="isInput" class="font-normal text-accent">input </span>
|
||||
<span v-else-if="isInterface" class="font-normal text-accent"
|
||||
>interface
|
||||
</span>
|
||||
<span v-else-if="isEnum" class="font-normal text-accent">enum </span>
|
||||
<span v-if="isInput" class="text-accent">input </span>
|
||||
<span v-else-if="isInterface" class="text-accent">interface </span>
|
||||
<span v-else-if="isEnum" class="text-accent">enum </span>
|
||||
{{ gqlType.name }}
|
||||
</div>
|
||||
<div v-if="gqlType.description" class="mt-2 text-secondaryLight type-desc">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<span
|
||||
:class="{ 'cursor-pointer': !isScalar }"
|
||||
class="font-mono font-normal text-accent"
|
||||
class="font-mono text-sm text-accent"
|
||||
@click="jumpToType"
|
||||
>
|
||||
{{ typeString }}
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
:options="{
|
||||
maxLines: '10',
|
||||
minLines: '10',
|
||||
fontSize: '16px',
|
||||
fontSize: '15px',
|
||||
autoScrollEditorIntoView: true,
|
||||
readOnly: true,
|
||||
showPrintMargin: false,
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
:options="{
|
||||
maxLines: '16',
|
||||
minLines: '8',
|
||||
fontSize: '16px',
|
||||
fontSize: '15px',
|
||||
autoScrollEditorIntoView: true,
|
||||
showPrintMargin: false,
|
||||
useWorker: false,
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
:options="{
|
||||
maxLines: responseBodyMaxLines,
|
||||
minLines: '16',
|
||||
fontSize: '16px',
|
||||
fontSize: '15px',
|
||||
autoScrollEditorIntoView: true,
|
||||
readOnly: true,
|
||||
showPrintMargin: false,
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
:options="{
|
||||
maxLines: responseBodyMaxLines,
|
||||
minLines: '16',
|
||||
fontSize: '16px',
|
||||
fontSize: '15px',
|
||||
autoScrollEditorIntoView: true,
|
||||
readOnly: true,
|
||||
showPrintMargin: false,
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
:options="{
|
||||
maxLines: responseBodyMaxLines,
|
||||
minLines: '16',
|
||||
fontSize: '16px',
|
||||
fontSize: '15px',
|
||||
autoScrollEditorIntoView: true,
|
||||
readOnly: true,
|
||||
showPrintMargin: false,
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
:options="{
|
||||
maxLines: responseBodyMaxLines,
|
||||
minLines: '16',
|
||||
fontSize: '16px',
|
||||
fontSize: '15px',
|
||||
autoScrollEditorIntoView: true,
|
||||
readOnly: true,
|
||||
showPrintMargin: false,
|
||||
|
||||
@@ -52,7 +52,6 @@ export default {
|
||||
&,
|
||||
span {
|
||||
@apply font-mono;
|
||||
@apply font-normal;
|
||||
@apply select-text;
|
||||
}
|
||||
|
||||
|
||||
@@ -214,7 +214,6 @@ export default {
|
||||
@apply px-4;
|
||||
@apply text-sm;
|
||||
@apply font-mono;
|
||||
@apply font-normal;
|
||||
|
||||
&:last-child {
|
||||
border-radius: 0 0 8px 8px;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
@apply bg-primaryDark;
|
||||
@apply text-secondary;
|
||||
@apply font-mono;
|
||||
@apply font-normal;
|
||||
@apply transition;
|
||||
@apply ease-in-out;
|
||||
@apply duration-150;
|
||||
|
||||
Reference in New Issue
Block a user