From 194ec63d81ed7c8d6f63945139ea6d0bdfc597b3 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Mon, 19 Dec 2022 17:52:42 +0530 Subject: [PATCH] file: separate content and line numbers --- static/style.css | 6 +++++- templates/file.html | 2 +- 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 @@ {{ . }} {{- end -}} -
+
             {{- .content -}}