summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-19 22:15:03 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-19 22:15:03 +0530
commit150d81df6c82ee9ea735f988d1c06edd9059819a (patch)
tree37d395e95538b969bcbf094137149a4cb2139822
parent2f508f865fcc908b9025f73fb42110149f39c934 (diff)
downloadlegit-150d81df6c82ee9ea735f988d1c06edd9059819a.tar.gz
legit-150d81df6c82ee9ea735f988d1c06edd9059819a.tar.bz2
legit-150d81df6c82ee9ea735f988d1c06edd9059819a.zip
diff: scroll diff on overflow
-rw-r--r--templates/commit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/commit.html b/templates/commit.html
index c37f850..f0c58dc 100644
--- a/templates/commit.html
+++ b/templates/commit.html
@@ -66,7 +66,6 @@
{{ else }}
<a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a>
{{- end -}}
- </div>
{{ if .IsBinary }}
<p>Not showing binary file.</p>
{{ else }}
@@ -88,6 +87,7 @@
{{- end -}}
</pre>
</div>
+ </div>
{{ end }}
</section>
</main>