使用CodeMirror高亮各处的配置信息

This commit is contained in:
刘祥超
2021-05-24 11:23:20 +08:00
parent f738ba9152
commit c768f22059
11 changed files with 161 additions and 69 deletions

View File

@@ -705,4 +705,21 @@ td .label.small {
// td
td {
word-break: break-all;
}
// codemirror
.source-code-box {
.CodeMirror {
border: 1px solid #eee;
height: auto !important;
}
.CodeMirror-vscrollbar {
width: 6px;
border-radius: 3px !important;
}
.CodeMirror-vscrollbar::-webkit-scrollbar-thumb {
border-radius: 2px;
}
}