From 150d81df6c82ee9ea735f988d1c06edd9059819a Mon Sep 17 00:00:00 2001
From: Anirudh Oppiliappan <x@icyphox.sh>
Date: Mon, 19 Dec 2022 22:15:03 +0530
Subject: diff: scroll diff on overflow

---
 templates/commit.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/commit.html')

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>
-- 
cgit v1.2.3