summaryrefslogtreecommitdiffstats
path: root/public/less/_editor.less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-17 22:44:07 -0700
committerUnknwon <u@gogs.io>2016-08-17 22:44:07 -0700
commit7f7216be6e4a55af83a614fb2782d643af40825a (patch)
tree1429b942c9c918957dd189a947903f7a0c5bfc53 /public/less/_editor.less
parentec332cf903354f8ab291ea33962d244a879c330d (diff)
downloadgitea-7f7216be6e4a55af83a614fb2782d643af40825a.tar.gz
gitea-7f7216be6e4a55af83a614fb2782d643af40825a.zip
Code quality improvement on JS
Diffstat (limited to 'public/less/_editor.less')
-rw-r--r--public/less/_editor.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/less/_editor.less b/public/less/_editor.less
new file mode 100644
index 0000000000..25347bdc8d
--- /dev/null
+++ b/public/less/_editor.less
@@ -0,0 +1,10 @@
+.CodeMirror {
+ font: 14px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ &.cm-s-default {
+ border-radius: 3px;
+ padding: 0 !important;
+ }
+ .cm-comment {
+ background: inherit !important;
+ }
+} \ No newline at end of file