file: separate content and line numbers
This commit is contained in:
parent
2b9b2bdb1f
commit
194ec63d81
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
|
||||
{{- end -}}
|
||||
</div>
|
||||
<div>
|
||||
<div class="file-content">
|
||||
<span></span>
|
||||
<pre>
|
||||
{{- .content -}}
|
||||
|
|
Loading…
Reference in a new issue