fix: broken sticky sections on font size
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
:class="{ 'rounded border border-divider': savingMode }"
|
||||
>
|
||||
<div
|
||||
class="flex flex-col top-8 z-10 sticky"
|
||||
class="flex flex-col top-sidebarPrimaryStickyFold z-10 sticky"
|
||||
:class="{ 'bg-primary': !savingMode }"
|
||||
>
|
||||
<div v-if="showCollActions" class="search-wrapper">
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
>
|
||||
<div
|
||||
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">
|
||||
<input
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
<template>
|
||||
<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">
|
||||
<select
|
||||
v-model="selectedEnvironmentIndex"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
bg-primaryLight
|
||||
border-b border-dividerLight
|
||||
flex
|
||||
top-8
|
||||
top-sidebarPrimaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
pl-4
|
||||
top-24
|
||||
top-upperSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
pl-4
|
||||
top-24
|
||||
top-upperSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-upperSecondaryStickyFold
|
||||
pl-4
|
||||
top-24
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
pl-4
|
||||
top-24
|
||||
top-upperSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
pl-4
|
||||
top-24
|
||||
top-upperSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -20,9 +20,8 @@
|
||||
cursor-pointer
|
||||
flex
|
||||
font-semibold font-mono
|
||||
h-8
|
||||
text-secondaryDark
|
||||
py-1
|
||||
py-2
|
||||
px-4
|
||||
transition
|
||||
w-28
|
||||
@@ -75,7 +74,7 @@
|
||||
font-semibold font-mono
|
||||
flex-1
|
||||
text-secondaryDark
|
||||
py-1
|
||||
py-2
|
||||
px-4
|
||||
transition
|
||||
truncate
|
||||
@@ -106,7 +105,11 @@
|
||||
arrow
|
||||
>
|
||||
<template #trigger>
|
||||
<ButtonPrimary class="rounded-l-none" icon="keyboard_arrow_down" />
|
||||
<ButtonPrimary
|
||||
class="rounded-l-none"
|
||||
outline
|
||||
icon="keyboard_arrow_down"
|
||||
/>
|
||||
</template>
|
||||
<SmartItem
|
||||
:label="$t('import.curl')"
|
||||
@@ -136,7 +139,7 @@
|
||||
</tippy>
|
||||
</span>
|
||||
<ButtonSecondary
|
||||
class="rounded-r-none h-8 ml-2"
|
||||
class="rounded-r-none ml-2"
|
||||
:label="$t('request.save')"
|
||||
:shortcut="[getSpecialKey(), 'S']"
|
||||
outline
|
||||
@@ -155,7 +158,7 @@
|
||||
<ButtonSecondary
|
||||
icon="keyboard_arrow_down"
|
||||
outline
|
||||
class="rounded-l-none h-8"
|
||||
class="rounded-l-none"
|
||||
/>
|
||||
</template>
|
||||
<input
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<SmartTabs styles="sticky top-24 z-20">
|
||||
<SmartTabs styles="sticky top-upperSecondaryStickyFold z-20">
|
||||
<SmartTab id="script" :label="$t('test.script')" :selected="true">
|
||||
<div
|
||||
class="
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-upperTertiaryStickyFold
|
||||
pl-4
|
||||
top-32
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
@@ -54,8 +54,8 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-upperTertiaryStickyFold
|
||||
pl-4
|
||||
top-32
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<SmartTabs styles="sticky z-10 top-12">
|
||||
<SmartTabs styles="sticky z-10 top-lowerPrimaryStickyFold">
|
||||
<SmartTab
|
||||
v-for="(lens, index) in validLenses"
|
||||
:id="lens.lensName"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-20
|
||||
top-lowerSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-20
|
||||
top-lowerSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-20
|
||||
top-lowerSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-20
|
||||
top-lowerSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-20
|
||||
top-lowerSecondaryStickyFold
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
font-semibold font-mono
|
||||
text-secondaryDark
|
||||
w-full
|
||||
py-1
|
||||
py-2
|
||||
px-4
|
||||
transition
|
||||
truncate
|
||||
focus:outline-none focus:border-accent
|
||||
focus:border-accent focus:outline-none
|
||||
"
|
||||
:placeholder="$t('url')"
|
||||
/>
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
flex-1
|
||||
text-secondaryDark
|
||||
w-full
|
||||
py-1
|
||||
py-2
|
||||
px-4
|
||||
transition
|
||||
truncate
|
||||
focus:outline-none focus:border-accent
|
||||
focus:border-accent focus:outline-none
|
||||
"
|
||||
:placeholder="$t('url')"
|
||||
@keyup.enter="urlValid ? toggleConnection() : null"
|
||||
@@ -41,11 +41,11 @@
|
||||
flex-1
|
||||
text-secondaryDark
|
||||
w-full
|
||||
py-1
|
||||
py-2
|
||||
px-4
|
||||
transition
|
||||
truncate
|
||||
focus:outline-none focus:border-accent
|
||||
focus:border-accent focus:outline-none
|
||||
"
|
||||
spellcheck="false"
|
||||
/>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
font-semibold font-mono
|
||||
text-secondaryDark
|
||||
w-full
|
||||
py-1
|
||||
py-2
|
||||
px-4
|
||||
transition
|
||||
truncate
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
font-semibold font-mono
|
||||
text-secondaryDark
|
||||
w-full
|
||||
py-1
|
||||
py-2
|
||||
px-4
|
||||
transition
|
||||
truncate
|
||||
focus:outline-none focus:border-accent
|
||||
focus:border-accent focus:outline-none
|
||||
"
|
||||
type="url"
|
||||
spellcheck="false"
|
||||
@@ -45,8 +45,8 @@
|
||||
bg-primary
|
||||
border-b border-dividerLight
|
||||
flex flex-1
|
||||
top-upperPrimaryStickyFold
|
||||
pl-4
|
||||
top-16
|
||||
z-10
|
||||
sticky
|
||||
items-center
|
||||
|
||||
@@ -18,13 +18,9 @@
|
||||
:label="`${fontSizes.find(({ code }) => code == active.code).name}`"
|
||||
/>
|
||||
</template>
|
||||
<!-- text-xs -->
|
||||
<!-- text-sm -->
|
||||
<!-- text-base -->
|
||||
<SmartItem
|
||||
v-for="(size, index) in fontSizes"
|
||||
:key="`size-${index}`"
|
||||
:class="`text-${size.code}`"
|
||||
:label="size.name"
|
||||
@click.native="
|
||||
setActiveFont(size)
|
||||
|
||||
Reference in New Issue
Block a user