aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/repo/diff/box.tmpl2
-rw-r--r--web_src/less/_base.less1
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 2d39759d80..d7abd96da1 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -114,7 +114,7 @@
</h4>
<div class="diff-file-body ui attached unstackable table segment">
{{if ne $file.Type 4}}
- <div class="file-body file-code code-view has-context-menu code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}">
+ <div class="file-body file-code has-context-menu code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}">
<table class="chroma">
<tbody>
{{if $isImage}}
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 82b403de6c..eb0ee7ca73 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -997,6 +997,7 @@ i.icon.centerlock {
color: rgba(27, 31, 35, .3);
width: 1%;
user-select: none;
+ font-family: @monospaced-fonts, monospace;
span {
&.bottom-line {