perf: change >>> ::v-deep

This commit is contained in:
花裤衩 2020-06-08 20:39:45 +08:00
parent 534cd5bc26
commit c5abe7532c
3 changed files with 41 additions and 23 deletions

View File

@ -48,14 +48,18 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.drag-select >>> .sortable-ghost { .drag-select {
opacity: .8; ::v-deep {
color: #fff!important; .sortable-ghost {
background: #42b983!important; opacity: .8;
} color: #fff !important;
background: #42b983 !important;
}
.drag-select >>> .el-tag { .el-tag {
cursor: pointer; cursor: pointer;
}
}
} }
</style> </style>

View File

@ -54,19 +54,24 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.json-editor{ .json-editor {
height: 100%; height: 100%;
position: relative; position: relative;
}
.json-editor >>> .CodeMirror { ::v-deep {
height: auto; .CodeMirror {
min-height: 300px; height: auto;
} min-height: 300px;
.json-editor >>> .CodeMirror-scroll{ }
min-height: 300px;
} .CodeMirror-scroll {
.json-editor >>> .cm-s-rubyblue span.cm-string { min-height: 300px;
color: #F08047; }
.cm-s-rubyblue span.cm-string {
color: #F08047;
}
}
} }
</style> </style>

View File

@ -213,28 +213,37 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.tinymce-container { .tinymce-container {
position: relative; position: relative;
line-height: normal; line-height: normal;
} }
.tinymce-container>>>.mce-fullscreen {
z-index: 10000; .tinymce-container {
::v-deep {
.mce-fullscreen {
z-index: 10000;
}
}
} }
.tinymce-textarea { .tinymce-textarea {
visibility: hidden; visibility: hidden;
z-index: -1; z-index: -1;
} }
.editor-custom-btn-container { .editor-custom-btn-container {
position: absolute; position: absolute;
right: 4px; right: 4px;
top: 4px; top: 4px;
/*z-index: 2005;*/ /*z-index: 2005;*/
} }
.fullscreen .editor-custom-btn-container { .fullscreen .editor-custom-btn-container {
z-index: 10000; z-index: 10000;
position: fixed; position: fixed;
} }
.editor-upload-btn { .editor-upload-btn {
display: inline-block; display: inline-block;
} }