diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-12 17:22:16 +0800 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-11-12 10:22:16 +0100 |
commit | e4e6d48e30da944192263f7ad812dfa78f03ae27 (patch) | |
tree | c916a645486c46cdc9dbf8e61c3454e757abe1ff /web_src/less/_editor.less | |
parent | a0d401451710622b2856d61bf514bccdc7bd0fbd (diff) | |
download | gitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.tar.gz gitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.zip |
Move less from public/ to web_src/ so that it will not be packe… (#8908)
Diffstat (limited to 'web_src/less/_editor.less')
-rw-r--r-- | web_src/less/_editor.less | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/web_src/less/_editor.less b/web_src/less/_editor.less new file mode 100644 index 0000000000..453b8b433e --- /dev/null +++ b/web_src/less/_editor.less @@ -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; +} |