fix: broken sticky sections on font size
This commit is contained in:
@@ -72,7 +72,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.material-icons {
|
.material-icons {
|
||||||
font-size: 1rem !important;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.svg-icons {
|
.svg-icons {
|
||||||
@@ -144,6 +144,11 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[interactive] > div {
|
||||||
|
@apply flex;
|
||||||
|
@apply h-full;
|
||||||
|
}
|
||||||
|
|
||||||
.tippy-content > div {
|
.tippy-content > div {
|
||||||
@apply flex flex-col;
|
@apply flex flex-col;
|
||||||
@apply max-h-48;
|
@apply max-h-48;
|
||||||
@@ -215,11 +220,13 @@ pre.ace_editor {
|
|||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
@apply absolute;
|
@apply absolute;
|
||||||
@apply inline-block;
|
@apply flex;
|
||||||
|
@apply inset-y-0;
|
||||||
|
@apply items-center;
|
||||||
|
@apply justify-center;
|
||||||
@apply pointer-events-none;
|
@apply pointer-events-none;
|
||||||
@apply font-icon;
|
@apply font-icon;
|
||||||
@apply text-secondaryLight;
|
@apply text-secondaryLight;
|
||||||
@apply top-2.5;
|
|
||||||
@apply right-3;
|
@apply right-3;
|
||||||
|
|
||||||
content: "\e313";
|
content: "\e313";
|
||||||
|
|||||||
@@ -303,6 +303,20 @@
|
|||||||
--font-size: 0.75rem;
|
--font-size: 0.75rem;
|
||||||
// Line height
|
// Line height
|
||||||
--line-height: 1rem;
|
--line-height: 1rem;
|
||||||
|
// Upper primary sticky fold
|
||||||
|
--upper-primary-sticky-fold: 4.125rem;
|
||||||
|
// Upper secondary sticky fold
|
||||||
|
--upper-secondary-sticky-fold: 6.125rem;
|
||||||
|
// Upper tertiary sticky fold
|
||||||
|
--upper-tertiary-sticky-fold: 8.125rem;
|
||||||
|
// Lower primary sticky fold
|
||||||
|
--lower-primary-sticky-fold: 3rem;
|
||||||
|
// Lower secondary sticky fold
|
||||||
|
--lower-secondary-sticky-fold: 5rem;
|
||||||
|
// Sidebar primary sticky fold
|
||||||
|
--sidebar-primary-sticky-fold: 2rem;
|
||||||
|
// Sidebar secondary sticky fold
|
||||||
|
--sidebar-secondary-sticky-fold: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin fontMedium {
|
@mixin fontMedium {
|
||||||
@@ -310,6 +324,20 @@
|
|||||||
--font-size: 0.875rem;
|
--font-size: 0.875rem;
|
||||||
// Line height
|
// Line height
|
||||||
--line-height: 1.25rem;
|
--line-height: 1.25rem;
|
||||||
|
// Upper primary sticky fold
|
||||||
|
--upper-primary-sticky-fold: 4.375rem;
|
||||||
|
// Upper secondary sticky fold
|
||||||
|
--upper-secondary-sticky-fold: 6.625rem;
|
||||||
|
// Upper tertiary sticky fold
|
||||||
|
--upper-tertiary-sticky-fold: 8.875rem;
|
||||||
|
// Lower primary sticky fold
|
||||||
|
--lower-primary-sticky-fold: 3.25rem;
|
||||||
|
// Lower secondary sticky fold
|
||||||
|
--lower-secondary-sticky-fold: 5.5rem;
|
||||||
|
// Sidebar primary sticky fold
|
||||||
|
--sidebar-primary-sticky-fold: 2.25rem;
|
||||||
|
// Sidebar secondary sticky fold
|
||||||
|
--sidebar-secondary-sticky-fold: 4.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin fontLarge {
|
@mixin fontLarge {
|
||||||
@@ -317,6 +345,20 @@
|
|||||||
--font-size: 1rem;
|
--font-size: 1rem;
|
||||||
// Line height
|
// Line height
|
||||||
--line-height: 1.5rem;
|
--line-height: 1.5rem;
|
||||||
|
// Upper primary sticky fold
|
||||||
|
--upper-primary-sticky-fold: 4.625rem;
|
||||||
|
// Upper secondary sticky fold
|
||||||
|
--upper-secondary-sticky-fold: 7.125rem;
|
||||||
|
// Upper tertiary sticky fold
|
||||||
|
--upper-tertiary-sticky-fold: 9.625rem;
|
||||||
|
// Lower primary sticky fold
|
||||||
|
--lower-primary-sticky-fold: 3.5rem;
|
||||||
|
// Lower secondary sticky fold
|
||||||
|
--lower-secondary-sticky-fold: 6rem;
|
||||||
|
// Sidebar primary sticky fold
|
||||||
|
--sidebar-primary-sticky-fold: 2.5rem;
|
||||||
|
// Sidebar secondary sticky fold
|
||||||
|
--sidebar-secondary-sticky-fold: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[data-font-size="xs"] {
|
:root[data-font-size="xs"] {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
:class="{ 'rounded border border-divider': savingMode }"
|
:class="{ 'rounded border border-divider': savingMode }"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col top-8 z-10 sticky"
|
class="flex flex-col top-sidebarPrimaryStickyFold z-10 sticky"
|
||||||
:class="{ 'bg-primary': !savingMode }"
|
:class="{ 'bg-primary': !savingMode }"
|
||||||
>
|
>
|
||||||
<div v-if="showCollActions" class="search-wrapper">
|
<div v-if="showCollActions" class="search-wrapper">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="bg-primary rounded-t flex flex-col top-0 z-10 sticky"
|
class="bg-primary rounded-t flex flex-col top-0 z-10 sticky"
|
||||||
:class="{ '!top-8': !saveRequest && !doc }"
|
:class="{ '!top-sidebarPrimaryStickyFold': !saveRequest && !doc }"
|
||||||
>
|
>
|
||||||
<div v-if="!saveRequest" class="search-wrapper">
|
<div v-if="!saveRequest" class="search-wrapper">
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<AppSection label="environments">
|
<AppSection label="environments">
|
||||||
<div class="bg-primary rounded-t flex flex-col top-8 z-10 sticky">
|
<div
|
||||||
|
class="
|
||||||
|
bg-primary
|
||||||
|
rounded-t
|
||||||
|
flex flex-col
|
||||||
|
top-sidebarPrimaryStickyFold
|
||||||
|
z-10
|
||||||
|
sticky
|
||||||
|
"
|
||||||
|
>
|
||||||
<div class="select-wrapper">
|
<div class="select-wrapper">
|
||||||
<select
|
<select
|
||||||
v-model="selectedEnvironmentIndex"
|
v-model="selectedEnvironmentIndex"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
bg-primaryLight
|
bg-primaryLight
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex
|
flex
|
||||||
top-8
|
top-sidebarPrimaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
pl-4
|
pl-4
|
||||||
top-24
|
top-upperSecondaryStickyFold
|
||||||
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-24
|
top-upperSecondaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-upperSecondaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
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-24
|
top-upperSecondaryStickyFold
|
||||||
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-24
|
top-upperSecondaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -20,9 +20,8 @@
|
|||||||
cursor-pointer
|
cursor-pointer
|
||||||
flex
|
flex
|
||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
h-8
|
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
w-28
|
w-28
|
||||||
@@ -75,7 +74,7 @@
|
|||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
flex-1
|
flex-1
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
@@ -106,7 +105,11 @@
|
|||||||
arrow
|
arrow
|
||||||
>
|
>
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<ButtonPrimary class="rounded-l-none" icon="keyboard_arrow_down" />
|
<ButtonPrimary
|
||||||
|
class="rounded-l-none"
|
||||||
|
outline
|
||||||
|
icon="keyboard_arrow_down"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
<SmartItem
|
<SmartItem
|
||||||
:label="$t('import.curl')"
|
:label="$t('import.curl')"
|
||||||
@@ -136,7 +139,7 @@
|
|||||||
</tippy>
|
</tippy>
|
||||||
</span>
|
</span>
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
class="rounded-r-none h-8 ml-2"
|
class="rounded-r-none ml-2"
|
||||||
:label="$t('request.save')"
|
:label="$t('request.save')"
|
||||||
:shortcut="[getSpecialKey(), 'S']"
|
:shortcut="[getSpecialKey(), 'S']"
|
||||||
outline
|
outline
|
||||||
@@ -155,7 +158,7 @@
|
|||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
icon="keyboard_arrow_down"
|
icon="keyboard_arrow_down"
|
||||||
outline
|
outline
|
||||||
class="rounded-l-none h-8"
|
class="rounded-l-none"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<SmartTabs styles="sticky top-24 z-20">
|
<SmartTabs styles="sticky top-upperSecondaryStickyFold z-20">
|
||||||
<SmartTab id="script" :label="$t('test.script')" :selected="true">
|
<SmartTab id="script" :label="$t('test.script')" :selected="true">
|
||||||
<div
|
<div
|
||||||
class="
|
class="
|
||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-upperTertiaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
top-32
|
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
@@ -54,8 +54,8 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-upperTertiaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
top-32
|
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<SmartTabs styles="sticky z-10 top-12">
|
<SmartTabs styles="sticky z-10 top-lowerPrimaryStickyFold">
|
||||||
<SmartTab
|
<SmartTab
|
||||||
v-for="(lens, index) in validLenses"
|
v-for="(lens, index) in validLenses"
|
||||||
:id="lens.lensName"
|
:id="lens.lensName"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
top-20
|
top-lowerSecondaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
top-20
|
top-lowerSecondaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
top-20
|
top-lowerSecondaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
top-20
|
top-lowerSecondaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
top-20
|
top-lowerSecondaryStickyFold
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
w-full
|
w-full
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
focus:outline-none focus:border-accent
|
focus:border-accent focus:outline-none
|
||||||
"
|
"
|
||||||
:placeholder="$t('url')"
|
:placeholder="$t('url')"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -21,11 +21,11 @@
|
|||||||
flex-1
|
flex-1
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
w-full
|
w-full
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
focus:outline-none focus:border-accent
|
focus:border-accent focus:outline-none
|
||||||
"
|
"
|
||||||
:placeholder="$t('url')"
|
:placeholder="$t('url')"
|
||||||
@keyup.enter="urlValid ? toggleConnection() : null"
|
@keyup.enter="urlValid ? toggleConnection() : null"
|
||||||
@@ -41,11 +41,11 @@
|
|||||||
flex-1
|
flex-1
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
w-full
|
w-full
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
focus:outline-none focus:border-accent
|
focus:border-accent focus:outline-none
|
||||||
"
|
"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
w-full
|
w-full
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
|
|||||||
@@ -16,11 +16,11 @@
|
|||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
w-full
|
w-full
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
focus:outline-none focus:border-accent
|
focus:border-accent focus:outline-none
|
||||||
"
|
"
|
||||||
type="url"
|
type="url"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
@@ -45,8 +45,8 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-upperPrimaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
top-16
|
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -18,13 +18,9 @@
|
|||||||
:label="`${fontSizes.find(({ code }) => code == active.code).name}`"
|
:label="`${fontSizes.find(({ code }) => code == active.code).name}`"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<!-- text-xs -->
|
|
||||||
<!-- text-sm -->
|
|
||||||
<!-- text-base -->
|
|
||||||
<SmartItem
|
<SmartItem
|
||||||
v-for="(size, index) in fontSizes"
|
v-for="(size, index) in fontSizes"
|
||||||
:key="`size-${index}`"
|
:key="`size-${index}`"
|
||||||
:class="`text-${size.code}`"
|
|
||||||
:label="size.name"
|
:label="size.name"
|
||||||
@click.native="
|
@click.native="
|
||||||
setActiveFont(size)
|
setActiveFont(size)
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
text-secondaryDark
|
text-secondaryDark
|
||||||
w-full
|
w-full
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
transition
|
transition
|
||||||
truncate
|
truncate
|
||||||
focus:outline-none focus:border-accent
|
focus:border-accent focus:outline-none
|
||||||
"
|
"
|
||||||
:placeholder="$t('url')"
|
:placeholder="$t('url')"
|
||||||
@keyup.enter="onPollSchemaClick()"
|
@keyup.enter="onPollSchemaClick()"
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<SmartTabs styles="sticky top-16 z-10">
|
<SmartTabs styles="sticky top-upperPrimaryStickyFold z-10">
|
||||||
<SmartTab :id="'query'" :label="$t('query')" :selected="true">
|
<SmartTab :id="'query'" :label="$t('query')" :selected="true">
|
||||||
<AppSection label="query">
|
<AppSection label="query">
|
||||||
<div
|
<div
|
||||||
@@ -44,8 +44,8 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-upperSecondaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
top-24
|
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
@@ -111,8 +111,8 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-upperSecondaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
top-24
|
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
@@ -162,8 +162,8 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-upperSecondaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
top-24
|
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
flex
|
flex
|
||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
flex-1
|
flex-1
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
focus:outline-none
|
focus:outline-none
|
||||||
"
|
"
|
||||||
@@ -226,7 +226,7 @@
|
|||||||
flex
|
flex
|
||||||
font-semibold font-mono
|
font-semibold font-mono
|
||||||
w-full
|
w-full
|
||||||
py-1
|
py-2
|
||||||
px-4
|
px-4
|
||||||
focus:outline-none
|
focus:outline-none
|
||||||
"
|
"
|
||||||
@@ -385,7 +385,15 @@
|
|||||||
<SmartTabs styles="sticky z-10 top-0">
|
<SmartTabs styles="sticky z-10 top-0">
|
||||||
<SmartTab :id="'docs'" :label="`Docs`" :selected="true">
|
<SmartTab :id="'docs'" :label="`Docs`" :selected="true">
|
||||||
<AppSection label="docs">
|
<AppSection label="docs">
|
||||||
<div class="bg-primaryLight flex flex-col top-8 z-10 sticky">
|
<div
|
||||||
|
class="
|
||||||
|
bg-primaryLight
|
||||||
|
flex flex-col
|
||||||
|
top-sidebarPrimaryStickyFold
|
||||||
|
z-10
|
||||||
|
sticky
|
||||||
|
"
|
||||||
|
>
|
||||||
<div class="search-wrapper">
|
<div class="search-wrapper">
|
||||||
<input
|
<input
|
||||||
v-model="graphqlFieldsFilterText"
|
v-model="graphqlFieldsFilterText"
|
||||||
@@ -399,8 +407,8 @@
|
|||||||
py-2
|
py-2
|
||||||
pr-2
|
pr-2
|
||||||
pl-9
|
pl-9
|
||||||
focus:outline-none
|
|
||||||
truncate
|
truncate
|
||||||
|
focus:outline-none
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -408,7 +416,7 @@
|
|||||||
<SmartTabs
|
<SmartTabs
|
||||||
ref="gqlTabs"
|
ref="gqlTabs"
|
||||||
styles="
|
styles="
|
||||||
border-t border-dividerLight sticky z-8 top-16"
|
border-t border-dividerLight sticky z-8 top-sidebarSecondaryStickyFold"
|
||||||
>
|
>
|
||||||
<div class="gqlTabs">
|
<div class="gqlTabs">
|
||||||
<SmartTab
|
<SmartTab
|
||||||
@@ -520,8 +528,8 @@
|
|||||||
bg-primary
|
bg-primary
|
||||||
border-b border-dividerLight
|
border-b border-dividerLight
|
||||||
flex flex-1
|
flex flex-1
|
||||||
|
top-sidebarPrimaryStickyFold
|
||||||
pl-4
|
pl-4
|
||||||
top-8
|
|
||||||
z-10
|
z-10
|
||||||
sticky
|
sticky
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -4,7 +4,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-16 z-10">
|
<SmartTabs styles="sticky top-upperPrimaryStickyFold z-10">
|
||||||
<SmartTab
|
<SmartTab
|
||||||
:id="'params'"
|
:id="'params'"
|
||||||
:label="$t('parameters')"
|
:label="$t('parameters')"
|
||||||
|
|||||||
@@ -6,6 +6,15 @@ export default defineConfig({
|
|||||||
center: true,
|
center: true,
|
||||||
},
|
},
|
||||||
extend: {
|
extend: {
|
||||||
|
inset: {
|
||||||
|
upperPrimaryStickyFold: "var(--upper-primary-sticky-fold)",
|
||||||
|
upperSecondaryStickyFold: "var(--upper-secondary-sticky-fold)",
|
||||||
|
upperTertiaryStickyFold: "var(--upper-tertiary-sticky-fold)",
|
||||||
|
lowerPrimaryStickyFold: "var(--lower-primary-sticky-fold)",
|
||||||
|
lowerSecondaryStickyFold: "var(--lower-secondary-sticky-fold)",
|
||||||
|
sidebarPrimaryStickyFold: "var(--sidebar-primary-sticky-fold)",
|
||||||
|
sidebarSecondaryStickyFold: "var(--sidebar-secondary-sticky-fold)",
|
||||||
|
},
|
||||||
colors: {
|
colors: {
|
||||||
primary: "var(--primary-color)",
|
primary: "var(--primary-color)",
|
||||||
primaryLight: "var(--primary-light-color)",
|
primaryLight: "var(--primary-light-color)",
|
||||||
|
|||||||
Reference in New Issue
Block a user