fix: add parent container for codemirror instance

This commit is contained in:
nivedin
2024-02-21 13:27:04 +05:30
committed by Andrew Bastin
parent 6198a25bc6
commit 1eb5e02100
2 changed files with 7 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
/> />
</template> </template>
<template #secondary> <template #secondary>
<HttpResponse v-model:document="tab.document" /> <HttpResponse v-model:document="tab.document" :is-embed="false" />
</template> </template>
</AppPaneLayout> </AppPaneLayout>
</template> </template>

View File

@@ -119,11 +119,12 @@
/> />
</div> </div>
</div> </div>
<div class="relative h-full">
<div <div
ref="jsonResponse" ref="jsonResponse"
class="flex h-auto h-full flex-1 flex-col"
:class="toggleFilter ? 'responseToggleOn' : 'responseToggleOff'" :class="toggleFilter ? 'responseToggleOn' : 'responseToggleOff'"
></div> ></div>
</div>
<div <div
v-if="outlinePath" v-if="outlinePath"
class="sticky bottom-0 z-10 flex flex-shrink-0 flex-nowrap overflow-auto overflow-x-auto border-t border-dividerLight bg-primaryLight px-2" class="sticky bottom-0 z-10 flex flex-shrink-0 flex-nowrap overflow-auto overflow-x-auto border-t border-dividerLight bg-primaryLight px-2"