style(editor): 属性配置中的源码编辑器添加class,防止样式污染

This commit is contained in:
roymondchen 2024-06-11 13:57:08 +08:00
parent 653cafbe81
commit 83b14767b3
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@
<CodeEditor
v-if="showSrc"
class="m-editor-props-panel-src-code"
:height="`${editorContentHeight}px`"
:init-values="values"
:options="codeOptions"

View File

@ -8,7 +8,7 @@
z-index: 30;
}
.magic-code-editor {
.m-editor-props-panel-src-code.magic-code-editor {
position: absolute;
left: 0;
top: 0;