mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-10-19 04:32:09 +08:00
style(editor): 属性配置中的源码编辑器添加class,防止样式污染
This commit is contained in:
parent
653cafbe81
commit
83b14767b3
@ -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"
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user