Skip to content

Commit

Permalink
[mdn-like theme] Remove margin on linenumber element
Browse files Browse the repository at this point in the history
Margins for gutter markers aren't supported, and this was
pushing the numbers into the content.

Issue codemirror#3098
  • Loading branch information
marijnh committed Feb 25, 2015
1 parent a1d45cf commit 3a40888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme/mdn-like.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.cm-s-mdn-like.CodeMirror ::-moz-selection { background: #cfc; }

.cm-s-mdn-like .CodeMirror-gutters { background: #f8f8f8; border-left: 6px solid rgba(0,83,159,0.65); color: #333; }
.cm-s-mdn-like .CodeMirror-linenumber { color: #aaa; margin-left: 3px; }
.cm-s-mdn-like .CodeMirror-linenumber { color: #aaa; padding-left: 8px; }
div.cm-s-mdn-like .CodeMirror-cursor { border-left: 2px solid #222; }

.cm-s-mdn-like .cm-keyword { color: #6262FF; }
Expand Down

0 comments on commit 3a40888

Please sign in to comment.