fix: codemirror search bar misaligned (#4203)

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
Nivedin
2024-07-22 17:04:53 +05:30
committed by GitHub
parent 801df8ea97
commit 7652dab9c4
7 changed files with 7 additions and 50 deletions

View File

@@ -120,11 +120,7 @@
</div>
</div>
<div class="h-full relative overflow-auto flex flex-col flex-1">
<div
ref="jsonResponse"
:class="toggleFilter ? 'responseToggleOn' : 'responseToggleOff'"
class="absolute inset-0 h-full"
></div>
<div ref="jsonResponse" class="absolute inset-0 h-full"></div>
</div>
<div
v-if="outlinePath"
@@ -434,12 +430,4 @@ defineActionHandler("response.copy", () => copyResponse())
@apply transition;
@apply hover:text-secondary;
}
:deep(.responseToggleOff .cm-panels) {
@apply top-lowerTertiaryStickyFold #{!important};
}
:deep(.responseToggleOn .cm-panels) {
@apply top-lowerFourthStickyFold #{!important};
}
</style>

View File

@@ -121,9 +121,3 @@ useCodemirror(
defineActionHandler("response.file.download", () => downloadResponse())
defineActionHandler("response.copy", () => copyResponse())
</script>
<style lang="scss" scoped>
:deep(.cm-panels) {
@apply top-lowerTertiaryStickyFold #{!important};
}
</style>