Tweak gutter styles

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
Yukai Huang 2019-08-16 10:30:34 +08:00
parent 6ddf872dec
commit 2852be0980
No known key found for this signature in database
GPG Key ID: D4D3B2F0E99D4914
2 changed files with 3 additions and 2 deletions

View File

@ -573,10 +573,10 @@ export default class Editor {
autoCloseTags: true, autoCloseTags: true,
foldGutter: true, foldGutter: true,
gutters: [ gutters: [
'CodeMirror-lint-markers',
'CodeMirror-linenumbers', 'CodeMirror-linenumbers',
'authorship-gutters', 'authorship-gutters',
'CodeMirror-foldgutter', 'CodeMirror-foldgutter'
'CodeMirror-lint-markers'
], ],
extraKeys: this.defaultExtraKeys, extraKeys: this.defaultExtraKeys,
flattenSpans: true, flattenSpans: true,

View File

@ -48,6 +48,7 @@
width: 16px; width: 16px;
vertical-align: middle; vertical-align: middle;
position: relative; position: relative;
margin-left: 5px;
} }
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning { .CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {