css: lose grid layout in refs

This commit is contained in:
Anirudh Oppiliappan 2022-12-24 15:11:48 +05:30
parent 08c49d4dd3
commit 845cce8ea7
No known key found for this signature in database
GPG Key ID: 8A93F96F78C5D4C4
2 changed files with 6 additions and 12 deletions

View File

@ -213,16 +213,14 @@ a:hover {
padding-top: 0.7em; padding-top: 0.7em;
} }
.refs {
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
}
.refs pre { .refs pre {
white-space: pre-wrap; white-space: pre-wrap;
} }
.refs strong {
padding-right: 1em;
}
.line-numbers { .line-numbers {
white-space: pre-line; white-space: pre-line;
-moz-user-select: -moz-none; -moz-user-select: -moz-none;

View File

@ -16,8 +16,6 @@
{{ range .branches }} {{ range .branches }}
<div> <div>
<strong>{{ .Name.Short }}</strong> <strong>{{ .Name.Short }}</strong>
</div>
<div>
<a href="/{{ $name }}/tree/{{ .Name.Short }}/">browse</a> <a href="/{{ $name }}/tree/{{ .Name.Short }}/">browse</a>
<a href="/{{ $name }}/log/{{ .Name.Short }}">log</a> <a href="/{{ $name }}/log/{{ .Name.Short }}">log</a>
</div> </div>
@ -29,12 +27,10 @@
{{ range .tags }} {{ range .tags }}
<div> <div>
<strong>{{ .Name }}</strong> <strong>{{ .Name }}</strong>
{{ if .Message }}
<pre>{{ .Message }}</pre>
</div>
<div>
<a href="/{{ $name }}/tree/{{ .Name }}/">browse</a> <a href="/{{ $name }}/tree/{{ .Name }}/">browse</a>
<a href="/{{ $name }}/log/{{ .Name }}">log</a> <a href="/{{ $name }}/log/{{ .Name }}">log</a>
{{ if .Message }}
<pre>{{ .Message }}</pre>
</div> </div>
{{ end }} {{ end }}
{{ end }} {{ end }}