diff options
author | Matthias Niess <mniess@gmail.com> | 2016-03-23 13:55:07 +0100 |
---|---|---|
committer | Matthias Niess <mniess@gmail.com> | 2016-03-23 13:55:07 +0100 |
commit | 3decc0b3d6db450d1885ea5cffef8491136d72ca (patch) | |
tree | 69b88bd90dbffd1abf3560d868ae6bafb6697c25 /public/less | |
parent | 98b58fa050e778a49cf1017cc806053bb5b70da6 (diff) | |
download | gitea-3decc0b3d6db450d1885ea5cffef8491136d72ca.tar.gz gitea-3decc0b3d6db450d1885ea5cffef8491136d72ca.zip |
use monospace font for wiki and issue textareas (fix #2869)
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_repository.less | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index c2b90fa93b..66c3543214 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -70,8 +70,8 @@ } } .header-wrapper { - background-color: #FAFAFA; - margin-top: -15px; + background-color: #FAFAFA; + margin-top: -15px; padding-top: 15px; .ui.tabs.divider { @@ -281,7 +281,7 @@ #avatar-arrow; &:after { border-right-color: #fff; - } + } .markdown { font-size: 14px; } @@ -456,6 +456,7 @@ } textarea { height: 200px; + font-family: "Consolas", monospace; } } @@ -531,6 +532,7 @@ } textarea { height: 200px; + font-family: "Consolas", monospace; } } } @@ -992,8 +994,11 @@ &.new { .CodeMirror { - .CodeMirror-code .cm-comment { - background: inherit; + .CodeMirror-code { + font-family: "Consolas", monospace; + .cm-comment { + background: inherit; + } } } @@ -1302,7 +1307,7 @@ border-right-color: #D4D4D5; border-width: 9px; margin-top: -9px; - } + } &:after { border-right-color: #f7f7f7; border-width: 8px; |