summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/style.css6
-rw-r--r--templates/file.html2
2 files changed, 6 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index 64ff978..1a59591 100644
--- a/static/style.css
+++ b/static/style.css
@@ -229,11 +229,15 @@ a:hover {
flex-direction: row;
grid-template-columns: 1rem minmax(0, 1fr);
gap: 1rem;
- overflow: scroll;
padding: 0.5rem;
background: var(--light-gray);
}
+.file-content {
+ background: var(--light-gray);
+ overflow: scroll;
+}
+
.commit-info {
color: var(--gray);
padding-bottom: 1.5rem;
diff --git a/templates/file.html b/templates/file.html
index f231969..ab432d3 100644
--- a/templates/file.html
+++ b/templates/file.html
@@ -14,7 +14,7 @@
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
{{- end -}}
</div>
- <div>
+ <div class="file-content">
<span></span>
<pre>
{{- .content -}}