fix: embeds response and request option section getting hidden bug (#4181)

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
Nivedin
2024-07-18 15:13:43 +05:30
committed by GitHub
parent 7ebc9a6fd6
commit 8c6b80dc42
13 changed files with 251 additions and 196 deletions

View File

@@ -0,0 +1,33 @@
<template>
<div class="flex flex-col">
<header
class="flex items-center justify-between flex-1 flex-shrink-0 px-2 py-2 space-x-2 overflow-x-auto overflow-y-hidden"
>
<div class="flex items-center justify-between flex-1 space-x-2">
<HoppButtonSecondary
class="!font-bold uppercase tracking-wide !text-secondaryDark hover:bg-primaryDark focus-visible:bg-primaryDark"
:label="t('app.name')"
to="https://hoppscotch.io"
blank
/>
<div class="flex">
<HoppButtonSecondary
:label="t('app.open_in_hoppscotch')"
:to="sharedRequestURL"
blank
/>
</div>
</div>
</header>
</div>
</template>
<script lang="ts" setup>
import { useI18n } from "~/composables/i18n"
const t = useI18n()
defineProps<{
sharedRequestURL: string
}>()
</script>