Skip to content

Commit

Permalink
美化主题内容编辑器
Browse files Browse the repository at this point in the history
  • Loading branch information
Codennnn committed Sep 11, 2023
1 parent 6cd6c43 commit 831c403
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/styles/v2ex-theme-default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,21 @@ body {
}
}

.CodeMirror-focused.cm-s-one-dark {
background-color: transparent;
// 主题内容编辑器。
.CodeMirror {
.CodeMirror-focused.cm-s-one-dark {
background-color: transparent;
}

.CodeMirror-gutters {
padding-right: 5px;
background-color: var(--v2p-color-bg-input);
border-right: 1px solid var(--v2p-color-main-300);
}

.CodeMirror-linenumber {
color: var(--v2p-color-main-400);
}
}

.cm-s-one-dark {
Expand Down

0 comments on commit 831c403

Please sign in to comment.