file: separate content and line numbers
2 files changed, 6 insertions(+), 2 deletions(-)
M static/style.css → static/style.css
@@ -229,9 +229,13 @@ display: flex; 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 {
M templates/file.html → templates/file.html
@@ -14,7 +14,7 @@ {{- range .linecount }} <a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a> {{- end -}} </div> - <div> + <div class="file-content"> <span></span> <pre> {{- .content -}}