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;
|
flex-direction: row;
|
||||||
grid-template-columns: 1rem minmax(0, 1fr);
|
grid-template-columns: 1rem minmax(0, 1fr);
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
overflow: scroll;
|
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
background: var(--light-gray);
|
background: var(--light-gray);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.file-content {
|
||||||
|
background: var(--light-gray);
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
.commit-info {
|
.commit-info {
|
||||||
color: var(--gray);
|
color: var(--gray);
|
||||||
padding-bottom: 1.5rem;
|
padding-bottom: 1.5rem;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
|
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="file-content">
|
||||||
<span></span>
|
<span></span>
|
||||||
<pre>
|
<pre>
|
||||||
{{- .content -}}
|
{{- .content -}}
|
||||||
|
|
Loading…
Reference in a new issue