file: separate content and line numbers

This commit is contained in:
Anirudh Oppiliappan 2022-12-19 17:52:42 +05:30
parent 2b9b2bdb1f
commit 194ec63d81
No known key found for this signature in database
GPG Key ID: 8A93F96F78C5D4C4
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -14,7 +14,7 @@
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
{{- end -}}
</div>
<div>
<div class="file-content">
<span></span>
<pre>
{{- .content -}}