perf[json-editor]:refine css

This commit is contained in:
Pan
2018-01-11 11:28:14 +08:00
parent de3b29b5f3
commit 2c147649ba
3 changed files with 9 additions and 8 deletions

View File

@@ -53,11 +53,16 @@ export default {
}
</script>
<style>
.CodeMirror {
<style scoped>
.json-editor{
height: 100%;
position: relative;
}
.json-editor .cm-s-rubyblue span.cm-string {
.json-editor >>> .CodeMirror {
height: auto;
min-height: 300px;
}
.json-editor >>> .cm-s-rubyblue span.cm-string {
color: #F08047;
}
</style>