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 <CodeEditor
v-if="showSrc" v-if="showSrc"
class="m-editor-props-panel-src-code"
:height="`${editorContentHeight}px`" :height="`${editorContentHeight}px`"
:init-values="values" :init-values="values"
:options="codeOptions" :options="codeOptions"

View File

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