all repos — legit @ 194ec63d81ed7c8d6f63945139ea6d0bdfc597b3

fork of git.icyphox.sh/legit

file: separate content and line numbers
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 17:52:42 +0530
commit

194ec63d81ed7c8d6f63945139ea6d0bdfc597b3

parent

2b9b2bdb1fb9a6c94859025ac1588faf4a5fbcdb

2 files changed, 6 insertions(+), 2 deletions(-)

jump to
M static/style.cssstatic/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.htmltemplates/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 -}}