1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 18:17:19 +00:00

Move less from public/ to web_src/ so that it will not be packe… (#8908)

This commit is contained in:
Lunny Xiao
2019-11-12 17:22:16 +08:00
committed by Antoine GIRARD
parent a0d4014517
commit e4e6d48e30
19 changed files with 3 additions and 3 deletions

26
web_src/less/_editor.less Normal file
View File

@ -0,0 +1,26 @@
.CodeMirror {
font: 14px @monospaced-fonts, monospace;
&.cm-s-default {
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: 0 !important;
}
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
border-left: 0;
border-right: 0;
border-bottom: 0;
}