chore: use :deep()

Co-authored-by: collinewait <21334508+collinewait@users.noreply.github.com>
This commit is contained in:
gitstart
2023-04-20 05:00:19 +00:00
parent 380f232c04
commit 9cbb75ba78
7 changed files with 11 additions and 16 deletions

View File

@@ -803,7 +803,7 @@ defineActionHandler("request.save", saveRequest)
defineActionHandler("request.reset", clearGQLQuery)
</script>
<style lang="scss" scoped>
::v-deep .cm-panels {
:deep(.cm-panels) {
top: var(--upper-tertiary-sticky-fold) !important;
}
</style>

View File

@@ -121,7 +121,7 @@ defineActionHandler("response.file.download", () => downloadResponse())
defineActionHandler("response.copy", () => copyResponse())
</script>
<style lang="scss" scoped>
::v-deep .cm-panels {
:deep(.cm-panels) {
top: var(--sidebar-primary-sticky-fold) !important;
}
</style>

View File

@@ -193,7 +193,7 @@ const tippyActions = ref<any | null>(null)
</script>
<style lang="scss" scoped>
::v-deep .cm-panels {
:deep(.cm-panels) {
top: var(--request-body-sticky-fold) !important;
}
</style>

View File

@@ -111,7 +111,7 @@ const clearContent = () => {
}
</script>
<style lang="scss" scoped>
::v-deep .cm-panels {
:deep(.cm-panels) {
top: var(--upper-tertiary-sticky-fold) !important;
}
</style>

View File

@@ -107,7 +107,7 @@ const clearContent = () => {
}
</script>
<style lang="scss" scoped>
::v-deep .cm-panels {
:deep(.cm-panels) {
top: var(--upper-tertiary-sticky-fold) !important;
}
</style>

View File

@@ -124,7 +124,7 @@ watch(selectedLensTab, (newLensID) => {
})
</script>
<style lang="scss" scoped>
::v-deep .cm-panels {
:deep(.cm-panels) {
top: var(--lower-tertiary-sticky-fold) !important;
}
</style>

View File

@@ -275,15 +275,10 @@ const prettifyRequestBody = () => {
defineActionHandler("request.send-cancel", sendMessage)
</script>
<style lang="scss" scoped>
::v-deep {
.cm-panels {
top: var(--upper-tertiary-sticky-fold) !important;
}
&.showing-event-field {
.cm-panels {
top: var(--request-body-sticky-fold) !important;
}
}
:deep(.cm-panels) {
top: var(--upper-tertiary-sticky-fold) !important;
}
.showing-event-field :deep(.cm-panels) {
top: var(--request-body-sticky-fold) !important;
}
</style>