summaryrefslogtreecommitdiffstats
path: root/public/less/_editor.less
diff options
context:
space:
mode:
authorXaver Maierhofer <xaver.maierhofer@xwissen.info>2019-05-13 08:26:32 +0200
committerzeripath <art27@cantab.net>2019-05-13 07:26:32 +0100
commit6fb58a8cdcd76aa45902e50da8f2b450fe9d3d35 (patch)
treebb4632a97f68ac019b9083a7ba00a46b26935a60 /public/less/_editor.less
parent0b785481d71dfe43304eebbfa379b77dd87d48cb (diff)
downloadgitea-6fb58a8cdcd76aa45902e50da8f2b450fe9d3d35.tar.gz
gitea-6fb58a8cdcd76aa45902e50da8f2b450fe9d3d35.zip
Clean less files (#6921)
Diffstat (limited to 'public/less/_editor.less')
-rw-r--r--public/less/_editor.less9
1 files changed, 7 insertions, 2 deletions
diff --git a/public/less/_editor.less b/public/less/_editor.less
index 0457cf1483..ee671d8b4b 100644
--- a/public/less/_editor.less
+++ b/public/less/_editor.less
@@ -1,19 +1,24 @@
.CodeMirror {
font: 14px @monospaced-fonts, monospace;
+
&.cm-s-default {
- border-radius: 3px;
- padding: 0 !important;
+ border-radius: 3px;
+ padding: 0 !important;
}
+
.cm-comment {
background: inherit !important;
}
}
+
.repository.file.editor .tab[data-tab="write"] {
padding: 0 !important;
}
+
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
border: none !important;
}
+
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
border-left: none;
border-right: none;