From 7f7216be6e4a55af83a614fb2782d643af40825a Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 17 Aug 2016 22:44:07 -0700 Subject: Code quality improvement on JS --- public/css/gogs.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'public/css') diff --git a/public/css/gogs.css b/public/css/gogs.css index 7df33773..0bf68b1b 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1376,10 +1376,6 @@ footer .ui.language .menu { .repository.file.editor .tabular.menu .octicon { margin-right: 5px; } -.repository.file.editor .CodeMirror.cm-s-default { - border-radius: 3px; - padding: 0 !important; -} .repository.file.editor .commit-form-wrapper { padding-left: 64px; } @@ -2500,6 +2496,16 @@ footer .ui.language .menu { tab-size: 16 !important; -moz-tab-size: 16 !important; } +.CodeMirror { + font: 14px Consolas, "Liberation Mono", Menlo, Courier, monospace; +} +.CodeMirror.cm-s-default { + border-radius: 3px; + padding: 0 !important; +} +.CodeMirror .cm-comment { + background: inherit !important; +} .organization { padding-top: 15px; padding-bottom: 80px; -- cgit v1.2.3