refactor: minor ui improvements

This commit is contained in:
liyasthomas
2021-08-14 16:14:08 +05:30
parent a129d7eb13
commit 2051b8788a
17 changed files with 75 additions and 46 deletions

View File

@@ -152,7 +152,6 @@
border-b border-dividerLight
flex
"
:class="{ 'border-t': index == 0 }"
>
<SmartAutoComplete
:placeholder="$t('count.header', { count: index + 1 })"
@@ -333,6 +332,7 @@ export default defineComponent({
const showSaveRequestModal = ref(false)
const schema = useReadonlyStream(props.conn.schemaString$, "")
watch(
headers,
() => {

View File

@@ -6,7 +6,7 @@
<div
class="
bg-primaryLight
flex flex-col
flex
top-sidebarPrimaryStickyFold
z-10
sticky
@@ -29,11 +29,19 @@
"
/>
</div>
<div class="flex">
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
to="https://docs.hoppscotch.io/"
blank
:title="$t('wiki')"
icon="help_outline"
/>
</div>
</div>
<SmartTabs
ref="gqlTabs"
styles="
border-t border-dividerLight sticky z-8 top-sidebarSecondaryStickyFold"
styles="border-t border-dividerLight sticky z-10 top-sidebarSecondaryStickyFold"
>
<div class="gqlTabs">
<SmartTab
@@ -153,6 +161,13 @@
{{ $t("schema") }}
</label>
<div class="flex">
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
to="https://docs.hoppscotch.io/"
blank
:title="$t('wiki')"
icon="help_outline"
/>
<ButtonSecondary
ref="downloadSchema"
v-tippy="{ theme: 'tooltip' }"