style: 脚本组件折叠样式调整

This commit is contained in:
fit2-zhao 2024-03-14 10:27:21 +08:00 committed by Craftsman
parent 27d6f8124c
commit 41d9106040
1 changed files with 25 additions and 23 deletions

View File

@ -19,7 +19,8 @@
</MsTag>
</div>
</div>
<div v-if="props.showType === 'commonScript'" class="relative flex w-full">
<div v-if="props.showType === 'commonScript'" class="flex bg-[var(--color-bg-3)]">
<div class="relative w-full">
<MsCodeEditor
ref="codeEditorRef"
v-model:model-value="innerCodeValue"
@ -43,6 +44,7 @@
</template>
</MsCodeEditor>
</div>
</div>
<MsCodeEditor
v-else
v-model:model-value="executionResultValue"